Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to find the coefficient of an input equation?

1 vue (au cours des 30 derniers jours)
goodwin membreve
goodwin membreve le 28 Oct 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by