MATLAB function that is equivalent to Maple's match function?
Mostra commenti meno recenti
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?
Risposte (1)
syms s ;
A = 1; B = -1;
LHS = 1/s-1/(s+1) ;
RHS = A/s+B/(s+1) ;
m = isequal(LHS,RHS) ;
3 Commenti
Henning Søgaard
il 26 Feb 2020
KSSV
il 26 Feb 2020
Okay,...it is like partial fractions?
Henning Søgaard
il 26 Feb 2020
Categorie
Scopri di più su Symbolic Math Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
