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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

ACCEPTED SOLUTION

Accepted Solutions
19-Tanzanite
(To:wkhalid)

"Help", "Tutorials".

14 REPLIES 14
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.

1-Newbie
(To: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.

1-Newbie
(To:RichardJ)

How can I attach a mathcad worksheet on this dialogbox?

19-Tanzanite
(To:wkhalid)

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

1-Newbie
(To:RichardJ)

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

19-Tanzanite
(To:wkhalid)

See the attached worksheet.

1-Newbie
(To:RichardJ)

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

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.

1-Newbie
(To:RichardJ)

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

Thanks

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.

1-Newbie
(To:RichardJ)

Thanks, where can I find useful tutorials?

19-Tanzanite
(To:wkhalid)

"Help", "Tutorials".

1-Newbie
(To:RichardJ)

Many thanks Richard 🙂

Announcements
Top Tags