Skip to main content
3-Newcomer
November 13, 2023
Solved

Transformation Matrices

  • November 13, 2023
  • 2 replies
  • 1926 views

Having a problem here, every time i try to perform a simple matrices multiply function, it shows as invalid array index , but surprisingly the same thing has worked in other systems.Please help. Have tried defining everything separately but the problem persists.

 

 

 

 

Best answer by Werner_E

You seem to number the elements of a vector or matrix starting by 1 for the first element.

By default Prime starts by 0 for the first entry.

That behaviour is controlled by the system variable ORIGIN.

Chances are that you forgot to set ORIGIN from the default value 0 to 1.

2 replies

23-Emerald IV
November 13, 2023

You should attach the (Prime) worksheet, not just a picture. And please tell which version of Prime you are using,

 

Success!

Luc

3-Newcomer
November 14, 2023

Sorry, new to the community, but the problem has been solved. Thankyou!.

Ill remember to Attach the worksheet and give more details.

Werner_E25-Diamond IAnswer
25-Diamond I
November 14, 2023

You seem to number the elements of a vector or matrix starting by 1 for the first element.

By default Prime starts by 0 for the first entry.

That behaviour is controlled by the system variable ORIGIN.

Chances are that you forgot to set ORIGIN from the default value 0 to 1.

3-Newcomer
November 14, 2023

Thankyou. The changing the Default value of Origin worked.