Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Translate the entire conversation x

Mathcad programming

NM_10165576
13-Aquamarine

Mathcad programming

In the attached file below if i give sub = stack(sub,RA) at the end of program, it gives same options multiple times. 
could someone please explain, why the program does that?
can't attach Mathcad sheet.

NM_10165576_0-1738133409798.png

 

ACCEPTED SOLUTION

Accepted Solutions

Hi 

I notice three things that may not make a difference.

Your top row of the result are all zeros.  by Default matrices and vectors start with index 0 not 1.  This can be changed.

You should return the required value specifically for good programming practice

Capture2.JPG

There is an extra vertical line that is not needed.  Carefully click arrow on the line till it turns blue then press delete.

Capture.JPG

View solution in original post

3 REPLIES 3

Hi 

I notice three things that may not make a difference.

Your top row of the result are all zeros.  by Default matrices and vectors start with index 0 not 1.  This can be changed.

You should return the required value specifically for good programming practice

Capture2.JPG

There is an extra vertical line that is not needed.  Carefully click arrow on the line till it turns blue then press delete.

Capture.JPG

Thank you for the reply.

 

Hello @NM_10165576

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements

Top Tags