Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Mean value of timeseries data in matrix form

1 view (last 30 days)
Student for ever
Student for ever on 16 Jan 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
Dear all, I have very basic question, I have time series for one variable (change between -1 and +1) with the same length (about 10000 second) in a matrix form (A), I calculate the mean with this way : mean_A = mean (A), where A is a matrix (1000 X 100)but the results very strange for me.
Thanks in advance
  7 Comments

Answers (1)

Birdman
Birdman on 16 Jan 2018
Edited: Birdman on 16 Jan 2018
Actually the figure you obtain is not weird. It is an outcome of floating point number not expressed correctly in binary form, therefore it does not show as zero. Please read the following link to learn more about this situation and to learn its possible solutions.

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!