Is it possible to recognise and record the amplitude values from a signal??
Show older comments
Is there any function in MATLAB code or a block in Simulink which could recognise and display the amplitude values of a signal?
2 Comments
Walter Roberson
on 4 Feb 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
on 4 Feb 2012
Accepted Answer
More Answers (1)
Walter Roberson
on 4 Feb 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 Comments
Johnston
on 4 Feb 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
on 4 Feb 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.
Categories
Find more on Scopes and Data Logging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!