Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to find the coefficient of an input equation?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!