About expm function error
Afficher commentaires plus anciens
Can someone help me?
I am trying to use expm function in matlab to do some calculation. However, everytime I use the expm() function, the system give me an error.
I want to use expm(M) not exp(M).
syms a b x;
H=[a*b,x;a,x-b];
M=int(H,x);
M
expm(M)
1 commentaire
ZHICHEN LIU
le 3 Fév 2022
Réponse acceptée
Plus de réponses (1)
I do not get an error when I run the code.
syms a b x;
H=[a*b,x;a,x-b];
M=int(H,x);
M
expm(M)
See above.
3 commentaires
ZHICHEN LIU
le 3 Fév 2022
William Rose
le 3 Fév 2022
The code you posted ran fine, without error, in 2018b and 2021a versions. I don;t have 2019.
ZHICHEN LIU
le 3 Fév 2022
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

