Select a point in Scope Graph
이전 댓글 표시
How do I select a point in the graph generated using the scope? I want to know the magnitude of the graph.
채택된 답변
추가 답변 (3개)
Paulo Silva
2011년 3월 1일
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 :)
Kai Hao Then
2011년 3월 1일
0 개 추천
댓글 수: 2
Paulo Silva
2011년 3월 1일
%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
2011년 3월 2일
Angelina
2024년 8월 28일
0 개 추천
bagaimana cara mengembalikan workspace pada matlab
카테고리
도움말 센터 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!