About expm function error
显示 更早的评论
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 个)
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 个评论
ZHICHEN LIU
2022-2-3
William Rose
2022-2-3
The code you posted ran fine, without error, in 2018b and 2021a versions. I don;t have 2019.
ZHICHEN LIU
2022-2-3
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

