How can I plot the input function in this example? (I already got the graph of the output function)
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Roger Vegeta
il 28 Lug 2016
Risposto: Stefan Reich
il 28 Lug 2016
How could I plot the input function as well for the same range of x? thanks so much.
0 Commenti
Risposta accettata
Stefan Reich
il 28 Lug 2016
Dear Rogelio, I suggest simply adding
p = fun(x);
hold on
plot(x,p,':')
to the end of your function. Should do the trick. S
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!