필터 지우기
필터 지우기

How can I code a consistency function in MATLAB function?

조회 수: 4 (최근 30일)
SyukriY
SyukriY 2016년 10월 10일
답변: SyukriY 2016년 10월 11일
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.

채택된 답변

SyukriY
SyukriY 2016년 10월 11일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by