How to normalize time periods
이전 댓글 표시
I am very new to matlab and I don't know how to code this problem.I have two arrays: Debut and End. Each array contains doubles that indicates the start(Debut) or the end(End) of a certain period.I am doing some signal processing so I want all these periods be normalised. I am thinking of calculating the mean of all periods and then normalize each period to that mean ? or do you have any other ideas ?
채택된 답변
추가 답변 (1개)
Akshay Malav
2019년 6월 20일
0 개 추천
Hi , there is a inbuilt function in matlab to normalize the data . Look at the link mentioned below .
The function is V = normalize(A)
V will contain the normalized value of the array A
댓글 수: 3
Hinde essmahi BOUZIANE
2019년 6월 20일
Akshay Malav
2019년 6월 20일
Yes it is defined for double also
Akshay Malav
2019년 6월 20일
Ans also adding to above answer the normalize function ignores NaN values if it is present in your array
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!