Borrar filtros
Borrar filtros

How can I code a consistency function in MATLAB function?

4 visualizaciones (últimos 30 días)
SyukriY
SyukriY el 10 de Oct. de 2016
Respondida: SyukriY el 11 de Oct. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by