필터 지우기
필터 지우기

Operator script does not commute

조회 수: 4 (최근 30일)
Sergio Manzetti
Sergio Manzetti 2017년 7월 17일
편집: Geoff Hayes 2017년 7월 17일
Hi, I have the given script:
syms f(x,y)
n = 2;
m = 2
res = exp(-i.*(x+y))
for k=1:m
res = simplify(diff(res,x) - x*res);
end
for k=1:n
res = simplify(diff(res,y) - y*res);
end
res = (-1)^(n+m)*res
which should do the following operation (image),
however it does not generate a commutation in the operations. How can this be modified to respect order of commutation?

답변 (0개)

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by