Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi all,
I am a beginner at MathCAD. I am using a trial version of MathCAD 15.
I have created an array, lets call it "a" (11 rows x 1 column) and then I have created a Matrix, let's call it "B" (2 rows and 1 column). The first element of the Matrix (1st row, 1st column) is the array "a".
How can I address to one of the elements of the array "a", contained inside the Matrix "B"?
For example, referring to the attached picture, what is the right syntax to extract the third element of the array (number 200)?
Thank you
Kate
The problem is, that a is NOT a matrix or vector but its just a range!
A range is kind of an iteration loop and you can't access individual values.
If you turn a into a vector you simple use the vector index twice:
ranges vs vector always has always been a topic that caused confusion.
You might want to take a look at the excellent work on this subject of Stuart Bruff, which I attach.
Hello,
Thank you very mich for your kind and precious help!
Problem solved!
Kate