Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi I am very new to MathCad and have hit a brick wall with changing a range variable to a vector. I'm currently using Prime 6.0 in trial form.
my understanding is you define a range then define your vector based on that range e.g
N:20
i:1..N
a[i:i
I start the range with 1 but I always get the 0 index appear in my vector. Am I doing something wrong here?
picture of my actual workings above (apologies my screen is obnoxiously wide)
It works OK if i input the vector myself
So I'm pretty sure its the range to vector technique I'm using causing me issues.Apologies if this is super easy I just cant see it right now.
Thanks for your help in advance.
Any help would be appreciated.
Solved! Go to Solution.
Mathcad assumes an origin of 0 by default. At the top of your worksheet enter ORIGIN:=1 if you want the index to start at 1. (Note use all upper case for the word ORIGIN).
Alan
Mathcad assumes an origin of 0 by default. At the top of your worksheet enter ORIGIN:=1 if you want the index to start at 1. (Note use all upper case for the word ORIGIN).
Alan
thank you ever so much!