Clear Filters
Clear Filters

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)
goodwin membreve
goodwin membreve on 28 Oct 2020
Closed: MATLAB Answer Bot on 20 Aug 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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!