Skip to main content
6-Contributor
May 4, 2025 1:46 PM UTC
Solved

ORIGIN:=1 never works for me

Hello PTC Mathcad Community:

 

The ORIGIN:=1 command never works correctly for me.

See attached. I run Mathcad Prime 10.0.1.0.

If you have a suggestion to fix this, please advise.

 

Thanks,

thodij

terryhendicott
21-Topaz II
May 4, 2025 2:09 PM UTC

Hi

Use the [ key (left square bracket) to get a subscripted index into A.

A[0  will get an error

A[1 will get you the first indexed element with ORIGIN set 1.

Cheers

Terry

Capture3.JPG

4 replies

terryhendicott
21-Topaz II
May 4, 2025 2:09 PM UTC

Hi

Use the [ key (left square bracket) to get a subscripted index into A.

A[0  will get an error

A[1 will get you the first indexed element with ORIGIN set 1.

Cheers

Terry

Capture3.JPG

Translate
thodij6-ContributorAuthor
6-Contributor
May 4, 2025 2:16 PM UTC

Terry, that works. I appreciate the speedy response.

 

Regards,

thodij

Translate
Werner_E
25-Diamond I
May 4, 2025 7:59 PM UTC

The fact that Prime allows you to access elements of a matrix with the syntax of a function call was not a particularly happy decision.

But I would almost call it a bug that this type of access does not respect the value of ORIGIN.

Translate
thodij6-ContributorAuthor
6-Contributor
May 5, 2025 1:54 AM UTC

Yes, I can appreciate that feeling or perception.

Thank you for your feedback as well.

 

I look forward to more interaction with members of the PTC Community, as I use more and more of Mathcad.

Unlike MATLAB or Excel, at least I do not have to keep tab of units. That is a big advantage.

 

Regards,

Joseph T.

Translate