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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Loop generation

wkhalid
1-Newbie

Loop generation

Hi

I have a matrix. How to generate a loop to read only one number in this matrix every time? I have to read one number each time and make some mathmatical operations and then go to the next number.

Can you help me with this?

Thanks

Best regards

Waleed

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:wkhalid)

"Help", "Tutorials".

View solution in original post

14 REPLIES 14
RichardJ
19-Tanzanite
(To:wkhalid)

Your description is too vague for me to be able to give you any advice. You need to post a worksheet showing exactly what it is you wish to do.

You would be better off posting questions about Mathcad in the Mathcad forums.

Thanks for your reply, see attached photo!

2015-01-23+10.47.20.jpg

RichardJ
19-Tanzanite
(To:wkhalid)

Please post a worksheet with at least the matrix entered in it. Aside from saving me some typing I would then know what version of Mathcad you are using.

How can I attach a mathcad worksheet on this dialogbox?

I'm using mathcad version 14.

RichardJ
19-Tanzanite
(To:wkhalid)

At the top right, click on "Use advanced editor". Then look in the lower left corner.

This is my worksheet. I'm using mathcad version 14

RichardJ
19-Tanzanite
(To:wkhalid)

See the attached worksheet.

Thanks for help Richard

How did you define the stress? There are two columns in s matrix!

How did you make a relation between a(stress) and m(stress), and first column in s matrix?

Best regards

RichardJ
19-Tanzanite
(To:wkhalid)

How did you define the stress? There are two columns in s matrix!

There is nothing in either the image or the worksheet you posted that indicates that the second column has any use. I implemented what you asked for, and that uses only the first column.

How did you make a relation between a(stress) and m(stress), and first column in s matrix?

They are functions. I passed the first column of the s matrix to them as arguments.

What I should do if I want to the second column in the future?

Thanks

RichardJ
19-Tanzanite
(To:wkhalid)

That depends on what you want to use it for.

I would recommend going through the tutorials. They are quite good.

Thanks, where can I find useful tutorials?

RichardJ
19-Tanzanite
(To:wkhalid)

"Help", "Tutorials".

Many thanks Richard 🙂

Top Tags