Basic operations with matrix in a program ...

05292020, 05:11 PM
Post: #1




Basic operations with matrix in a program ...
How can you get the average or quartile1 or covariance of a matrix in a program?
Hp Prime can get special functions like eigenvalues of any matrix in a program, but simple stat commands gives a "undef" message ... EXPORT Destats() BEGIN LOCAL mat, res; res:=[[1],[1]]; IF M0=[[0]] THEN mat:=EDITMAT(M0); //RETURN M0; ELSE INPUT({{M0,[4]}},"Matrix"); mat:=M0; //RETURN mat; END; res(1,1):=23; res(2,1):=quartile1(mat); EDITMAT(res); END; JesÃºs Tamez @jtamezga 

« Next Oldest  Next Newest »

Messages In This Thread 
Basic operations with matrix in a program ...  jtamezga  05292020 05:11 PM
RE: Basic operations with matrix in a program ...  victorvbc  05292020, 06:02 PM
RE: Basic operations with matrix in a program ...  StephenG1CMZ  05292020, 07:46 PM

User(s) browsing this thread: 1 Guest(s)