Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Why do I get that my variable is not defined? 2

Status
Not open for further replies.

bojoka4052

Mechanical
Oct 8, 2021
108
I am trying to make one variable "M_y", and not two seperate variable "M" and "y". I used the subscript function to get the "y" down, but it seems to tell me that "y" is not defined, when M_y is supposed to be one variable. I attached a picture which shows my problem.
 
 https://files.engineering.com/getfile.aspx?folder=7a10d87d-b2f6-46ae-9b63-4e19915e8ed6&file=1.png
Replies continue below

Recommended for you

Because you are using the Matrix toolbox. Try typeing M.y:1
 
Mathcad has TWO types of subscripts, indices and literals

indices created using "[" are intended for live math calculations, where the index is incremented/decrement to address different elements of an array
literals created using "." as suggested by IFRs are intended solely as unique labels

The matrix toolbar's shortcut creates an index subscript, but you apparently want a literal subscript

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor