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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to assembly a matrix using vectors?

ptc-6724694
1-Newbie

How to assembly a matrix using vectors?

Hi everyone.

I am trying to write the code below to assembly a matrix, but it is not working so far. Could anybody do a little check up what is my mistake, please? Thanks in advance.

Code.png

2 REPLIES 2

Its not fun to debug a picture. You don't even show what the error message says. We don't know anythng about the variables you are using - whether you use units or not, etc.

Please atach your worksheet.

BTW, your questions obviously was asked two days ago but is just showing up now. This forum seems to be screwed up at the time.

Have you got the subscript f in the "return" Q5 implemented as an index rather than a name subscript? Its difficult to tell from the image, but it looks like the Q is red but the f is black ...

Stuart

Top Tags