Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi
I want to make a vector calculation problem, and i want make a graph for representation for solve my problem
For this, i need to hash a range on axis
Example:
For x axis
I define xmin:-10mm
I define xmax:10mm
I define xstep:0.5mm
I want to make a program for define a matrix that include all value.
Program must be return
-10
-9.5
-9
....
9
9.5
10
This for XYZ translation and RxRyRz rotation
Do you can to help me ?
Thanks
Solved! Go to Solution.
May be so
Thanks
Y try it with "for"
It's OK , but is not elegant ...
Oh, you wanted an elegant solution...:
(Prime 4 file attached)
Success!
Luc
Thank's It's great
Now, i want to reduce step when approaching the end point.
I use a new parameter for reduce step, or , i use a function (for example sin)
The end point is max positive value
Not sure what exactly you are looking for.
How about using "logspace"?
Great very Great !
Sorry, But i have another question (it's hard for me to learn Mathcad)
On this picture
I have calculate a 6 lenght with equation (vector equation in 3D space)
I want to calculate all lenght with (same equation) lambda parameter variation
Lambda parameter variation was define with your solution.
example
1 calculations
lambda =0.1 the equation calculate 6 length
2 calculations
lambda =0.2 the equation calculate 6 new length
all lenght are concatenated in one global matrix
Another step, i need to see all value in graph (one line for 1 lenght variation )
in graph i need to have 6 curves for 6 lenght variation
Its hard to debug a picture. Always better to send the worksheet rather than a pic.
To get what you want you may turn your calculation of rho into a function of lambda.
Or you may calculate the 11 x 6 matrix using two nested loops.
I don't have a light worksheet for this
This calculation is the section of Gough Stewart platform worksheet
I make a section which isolate this problem
I solve my problem with this:
But is not elegant method and i need to increment for loop with line number for lambda parameter
In the end i need a graph
But i can't make a line between all point in the same color
Thanks for all