display of amplitude and time at each point in a range of a signal in simulink

9 vues (au cours des 30 derniers jours)
I want a plot/scope/graph where I can display the y-value at those x-values that i specify? Can anyone help me with this please?

Réponse acceptée

TAB
TAB le 25 Jan 2012
Create a m-file s-function, in which you can collect the Y values at your X values and plot it on figure.
--OR--
Save the X & Y values to base worksapce using 'To Workspace' block and write m-script to plot them.
  4 commentaires
meera
meera le 25 Jan 2012
Hey Tab,
Can't it be the other way around, I wanna import data from workspace into simulink using 'from workspace'
TAB
TAB le 27 Jan 2012
No clear why you want to use 'from workspace' block...??

Connectez-vous pour commenter.

Plus de réponses (2)

Samitha
Samitha le 25 Jan 2012
Regarding the Simulink thing!
Presumably this article might be helpful as it explains the way which a scope plot can be converted to a figure (more or less).
  2 commentaires
meera
meera le 25 Jan 2012
Hello Samitha,
The website u typed..is not opening
meera
meera le 25 Jan 2012
Thank You Samitha!! Yes, it is helpful.

Connectez-vous pour commenter.


Samitha
Samitha le 26 Jan 2012

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by