Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
I'm defining a range variable L which goes from 20cm to 100cm with a step of 20cm.
This "vector" has 5 rows, so i defined another range variable "k" which goes from 0 to 4.
Then I define this time a real vector with one column and 5 rows, and manually insert L[0 + e , L[1 + e , ... and I defined this as a function of "e". This worked.
BUT if i try to automatically create this vector, this doesn't work.
I mean, I write : (R(e))[k := L[k + e , and the error "A Name is Required".
The Program is attached.
This is a simplified model of what i need to create. Because my real "k" doesn't go from 0 to 4, but from 0 to 1400 since my real L is much larger. But i can't write manually each row of the vector R(e).
Someone knows how to fix it?
Thanks in advance
Solved! Go to Solution.
You defined L as a range, and referred to it correctly as a " vector" (quotes intended!). Note that L is NOT a vector, so you cannot address individual values of this range (I'm expressly not using the term 'elements').
Success!
Luc
You defined L as a range, and referred to it correctly as a " vector" (quotes intended!). Note that L is NOT a vector, so you cannot address individual values of this range (I'm expressly not using the term 'elements').
Success!
Luc
Thank you