Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to find the coefficient of an input equation?

1 回表示 (過去 30 日間)
goodwin membreve
goodwin membreve 2020 年 10 月 28 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by