Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit:

daily average, monthly average !!!

Asked by suyun on 11 Jun 2012

data format

ex ))

julianday temperature

(interval is 10mintues)


I want to average daily temperature, monthly average..

how to use 'mean' function?

1 Comment

Ryan on 11 Jun 2012

how is your data stored? is it as a string or number? is it all in one vector or in two separate vectors? how are the different months stored?



1 Answer

Answer by Jessica Lam on 11 Jun 2012

I think using tsmovavg()/smooth() is better than mean() .


Jessica Lam

Contact us