Oh, but Mathcad does seem to work that way per the worksheet I shared and the simple example below. It can step in 5 or any other integer, not just 1. Simply define n := 0,5..90, and you get 19 elements, not 91. The issue of the zeros seems to come up when you have units in Mathcad. Units still...
I get 0-indexing. I program in APL and J. What I meant was I setup the i variable to start at 0, end at 90, in 5 increments or steps for a total of 19 indices.
SMath Studio gets it right as you can see in the screencap below.
Thanks for your help anyway! It is much appreciated.
Rob
The index is based upon integers from 0 to 90 of units of deg. That's the 91 elements, however, I created it with a step of 5 as you have in the worksheet I shared. i = 1,5..90.
Why would it put zeros in?
Weird. Thanks for your efforts.
Rob
Edit: If I make i := 1,..90, I lose the zeros but...
I tried, and received the "The value must be an integer." error.
I've attached a redacted worksheet. Thanks for your help!https://files.engineering.com/getfile.aspx?folder=0c4a17c9-8691-415e-ae9f-68b4a6d99a16&file=PostableWorksheet.mcdx
I tried, but removing units causes all sorts of inconsistencies.
I tried dividing omega_i by 1 * deg to rid the deg unit, but no luck.
"The value must be an integer." is another error it throws.
Am I missing something?
I have calculated some results over a range of angles, and I can only display the results in separate columns.
How can I put them into a single table or matrix for presentation, not further calculation?
Edit: I am using Mathcad Prime 4.0