Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

This value must be a scalar or a matrix

Status
Not open for further replies.

GC_Hopi

Structural
Jun 24, 2018
551
Having the following issue when writing a function in Mathcad.
image_x0li5d.png
 
Replies continue below

Recommended for you

Thanks Greg. I got it working by moving the dimension out side of the programing line. It must be something with the Mathcad version...it was working with the old version the way I had it in the first post.
image_hmndh7.png
 
the subscripts seem off
could you use the variable bar as a subscript
you can also use .dia := diameter(bar) = and it should show 0.50in after the + sign
 
It would be easier not to use functions, but only array index. See below in MathCad prime, could be done similar in 15
Screenshot_2020-10-25_225726_tzqgut.png
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor