Is it possible to recognise and record the amplitude values from a signal??
Afficher commentaires plus anciens
Is there any function in MATLAB code or a block in Simulink which could recognise and display the amplitude values of a signal?
2 commentaires
Walter Roberson
le 4 Fév 2012
Would this just be like directing the signal to a scope? Signals in Simulink basically _are_ just amplitude values (with some timing information attached.)
Lakshman
le 4 Fév 2012
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 4 Fév 2012
2 votes
That sounds sort of like a Buffer Block.
Or perhaps what you want is Data Logging? http://www.mathworks.com/help/toolbox/physmod/simscape/ug/bsgpq8n.html
2 commentaires
Johnston
le 4 Fév 2012
Data Logging is to display the data. But Mr.lakshman wants to record and feed the same data as input. Can that be done using Data Logging?
Walter Roberson
le 4 Fév 2012
I am not certain. I have read some postings about Data Logging in passing, but I have never worked with it myself. I have had the _impression_ that logged data can be recalled and used later, in some configurations.
Perhaps would would be appropriate would be something like using a triggered subsystem around a buffer. Or is that not suitable for analog signals? On the other hand, the bit about "recognizing" the signals is hinting to me that if an analog signal is fed in, then an A/D convertor-equivalent to "read" the signal would be suitable; the then-digital signal could be buffered.
Catégories
En savoir plus sur Scopes and Data Logging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!