Skip to main content
6-Contributor
May 4, 2025
Solved

ORIGIN:=1 never works for me

  • May 4, 2025
  • 2 replies
  • 806 views

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

Best answer by terryhendicott

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

2 replies

21-Topaz II
May 4, 2025

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

thodij6-ContributorAuthor
6-Contributor
May 4, 2025

Terry, that works. I appreciate the speedy response.

 

Regards,

thodij

25-Diamond I
May 4, 2025

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.

thodij6-ContributorAuthor
6-Contributor
May 5, 2025

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.