Filter löschen
Filter löschen

How can I code a consistency function in MATLAB function?

4 Ansichten (letzte 30 Tage)
SyukriY
SyukriY am 10 Okt. 2016
Beantwortet: SyukriY am 11 Okt. 2016
Hi, I need suggestions from everybody in order to build a consistency funtion. For example, I have 24 data in a constant block and I want this conistency function to be operated within the last 12 data from the 24 data. I'm confused on how can I code it in the MATLAB function block.
Here is my block diagram.

Akzeptierte Antwort

SyukriY
SyukriY am 11 Okt. 2016
After a few research, I conclude that to get a consistency of a data I should use Standard Deviation calculation.
Because standard deviation is a measure that is used to quantify the amount of variation or dispersion of a set of data values.[1] A low standard deviation indicates that the data points tend to be close to the mean (also called the expected value) of the set, while a high standard deviation indicates that the data points are spread out over a wider range of values.
[1] Bland, J.M.; Altman, D.G. (1996). "Statistics notes: measurement error". BMJ. 312 (7047): 1654. doi:10.1136/bmj.312.7047.1654. PMC 2351401free to read. PMID 8664723.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by