MATLAB function that is equivalent to Maple's match function?
이전 댓글 표시
I'm looking for at function that is equivalent to Maple's match function:

The match function returns true, because the LHS and the RHS of the equation can be matched for all s. The return variable m contains the values of the unknowns, A and B, that solve the equation for all s.
Does MATLAB offer a function similar to Maple's match function?
답변 (1개)
syms s ;
A = 1; B = -1;
LHS = 1/s-1/(s+1) ;
RHS = A/s+B/(s+1) ;
m = isequal(LHS,RHS) ;
댓글 수: 3
Henning Søgaard
2020년 2월 26일
KSSV
2020년 2월 26일
Okay,...it is like partial fractions?
Henning Søgaard
2020년 2월 26일
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
