How to put all input into one dialog box?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
eqprompt='Enter Equation (e.g. 2*x^2+4*x+9):';
equation=inputdlg(eqprompt);
eq=str2sym(equation);
syms(symvar(eq));
varprompt='With Respect to Variable:';
var=inputdlg(varprompt);
k=diff(str2sym(equation),var);
disp(k)
I want to combine the two questions into one dialog box and still perform the operation
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur Adding custom doc dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!