Effacer les filtres
Effacer les filtres

How can I code a consistency function in MATLAB function?

4 vues (au cours des 30 derniers jours)
SyukriY
SyukriY le 10 Oct 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.

Réponse acceptée

SyukriY
SyukriY le 11 Oct 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.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by