Statistical analysis of discrete signals
1 次查看(过去 30 天)
显示 更早的评论
hi everyone,
i am working on a project where i have to acquire signals from the sensors and do some statistical analysis. i want to know how can we find the amplitude distribution of a discrete signal.
0 个评论
采纳的回答
Walter Roberson
2011-12-26
Sounds like a job for hist() against the original (amplitude) signal.
5 个评论
Walter Roberson
2011-12-27
The A/D convertor will compare the voltage to a pre-selected voltage range (adjustable in some convertors, fixed in others) and will scale the results to an integer value, usually 8 or 10 or 12 bits. It is those integer values that are what your program receives, and those values are proportional to the voltage (but possibly have been shifted so that negative and positive voltages could both be represented.) Do you need to calculate back to the voltages, or is it sufficient to work with the scaled (and possibly shifted) proportional values?
If you can work with the scaled and shifted values (which will very likely be the case), then you can use hist() or histc() on the input values.
Have you read the documentation for hist() and histc() ?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Measurements and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!