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!

