Select a point in Scope Graph
Mostra commenti meno recenti
How do I select a point in the graph generated using the scope? I want to know the magnitude of the graph.
Risposta accettata
Più risposte (3)
Paulo Silva
il 1 Mar 2011
Here's one way I just learned using the simplot function, example
vdp
set_param(gcs, 'SaveOutput', 'on')
set_param(gcs, 'SaveFormat', 'StructureWithTime')
sim(gcs)
simplot(yout)
I'm sorry for discovering this only now but it works great :)
1 Commento
Kai Hao Then
il 1 Mar 2011
Kai Hao Then
il 1 Mar 2011
0 voti
2 Commenti
Paulo Silva
il 1 Mar 2011
%in diferent axes
subplot(311)
plot(simout.time,simout.signals.values)
subplot(312)
plot(simout1.time,simout1.signals.values)
subplot(313)
plot(simout2.time,simout2.signals.values)
%in the same axes
hold on
plot(simout.time,simout.signals.values)
plot(simout1.time,simout1.signals.values)
plot(simout2.time,simout2.signals.values)
legend('simout','simout1','simout2')
Kai Hao Then
il 2 Mar 2011
Angelina
il 28 Ago 2024
0 voti
bagaimana cara mengembalikan workspace pada matlab
Categorie
Scopri di più su Graphics Object Properties in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!