How to normalize time periods
Mostrar comentarios más antiguos
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 ?
Respuesta aceptada
Más respuestas (1)
Akshay Malav
el 20 de Jun. de 2019
0 votos
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 comentarios
Hinde essmahi BOUZIANE
el 20 de Jun. de 2019
Akshay Malav
el 20 de Jun. de 2019
Yes it is defined for double also
Akshay Malav
el 20 de Jun. de 2019
Ans also adding to above answer the normalize function ignores NaN values if it is present in your array
Categorías
Más información sobre Signal Radiation, Collection, and Reflection en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!