cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

13-Aquamarine

## hash range

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

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald I
(To:XDN)

All without programming!

11 REPLIES 11
13-Aquamarine
(To:XDN)

I try it ...

with "for"

but i can't do it with "while"

24-Ruby IV
(To:XDN)

May be so

13-Aquamarine
(To:ValeryOchkov)

Thanks

Y try it with "for"

It's OK , but is not elegant ...

23-Emerald III
(To:XDN)

Oh, you wanted an elegant solution...:

(Prime 4 file attached)

Success!
Luc

24-Ruby V
(To:XDN)

File in Prime 5 format attached

13-Aquamarine
(To:Werner_E)

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

24-Ruby V
(To:XDN)

Not sure what exactly you are looking for.

13-Aquamarine
(To:Werner_E)

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

24-Ruby V
(To:XDN)

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.

13-Aquamarine
(To:Werner_E)

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

23-Emerald I
(To:XDN)

All without programming!

Announcements
Top Tags