Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

exponential function of matrices

exponential function of matrices

Hi,

We are trying to find the exponential of a matrix and we are not able to find the solution to the errors we are getting. The following is the code we tried

model test_exp
Real A[3,3];
Real B[3,3];
equation
A=[1,2,3;4,5,6;7,8,9];
B=Modelica.Math.Matrices.exp(A);
end test_exp;


Please help on this

John

There are 0 guests and 0 other users also viewing this topic
You are here: