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!