Undefined variable "resolve" or class "resolve".
显示 更早的评论
syms F G x y c
f='-x';
g='y';
c='solve';
F=char(f);G=char(g);
sol=abs(solve(G-F-c,y))
c=solve{subs(sol,x0*x)-y0,c}
1 个评论
Walter Roberson
2020-5-8
Which release are you using?
Error using -
Matrix dimensions must agree.
That occurs when trying to subtract the character vector '-x' from the character vector 'y'
c=solve{subs(sol,x0*x)-y0,c}
Notice there you are trying to access solve as if it were a cell array.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 COM Component Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!