Info
This question is closed. Reopen it to edit or answer.
How to find the coefficient of an input equation?
1 view (last 30 days)
Show older comments
varprompt='Enter Variable:';
var=inputdlg(varprompt);
in='input equation:';
inp=inputdlg(in);
syms(symvar(inp));
ans=coeffs(inpp);
I want to ask the user an equation then im going to put their coefficients if any.
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!