Is it possible to recognise and record the amplitude values from a signal??

Is there any function in MATLAB code or a block in Simulink which could recognise and display the amplitude values of a signal?

2 件のコメント

Walter Roberson
Walter Roberson 2012 年 2 月 4 日
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
Lakshman 2012 年 2 月 4 日
Scope just displays the amplitude plot from which we need to observe amplitude values at different time intervals. But what I need is a block which identifies and records the amplitude values at different time intervals on itself when a analog or discrete signal is fed to it as input. These recorded values are to be fed to further blocks of my simulink model as input for some processing.

サインインしてコメントする。

 採用された回答

Johnston
Johnston 2012 年 2 月 4 日

1 投票

Can you be more specific Mr.Lakshman? Do you know the signal which you give as an input... and do u want to implement it in MATLAB or simulink?

3 件のコメント

Lakshman
Lakshman 2012 年 2 月 4 日
Sir, I need to recognize and record the amplitude values of a (any)signal at some random points of time, so that I could feed those values to the further blocks of my simulink model which gives an estimate of the whole signal that I'm actually applying. A minimum of two amplitude values are to be recorded.
Johnston
Johnston 2012 年 2 月 4 日
Ok. There is Data Acquisition toolbox in MATLAB/Simulink with which you can perform such operations like acquiring and extracting. This might be helpful to you. Try this out once.
Lakshman
Lakshman 2012 年 2 月 4 日
Thanks for the information, but as far as my knowledge Data Acquisition Toolbox could be used only to acquire data from hardware. I need to perform the same only in simulink without using any external hardware.

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 2 月 4 日

2 投票

2 件のコメント

Johnston
Johnston 2012 年 2 月 4 日
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
Walter Roberson 2012 年 2 月 4 日
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.

サインインしてコメントする。

質問済み:

2012 年 1 月 27 日

編集済み:

may
2013 年 9 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by