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

New to MATLAB?

daily average, monthly average

Asked by suyun

suyun (view profile)

on 11 Jun 2012
Latest activity Edited by suyun

suyun (view profile)

on 23 Dec 2014

I want to average daily/ monthly average..

how to use 'mean' function?

1 Comment

Ryan

Ryan (view profile)

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?

suyun

suyun (view profile)

Products

1 Answer

Answer by Jessica Lam

Jessica Lam (view profile)

on 11 Jun 2012

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

http://www.mathworks.com.au/help/toolbox/finance/tsmovavg.html

0 Comments

Jessica Lam

Jessica Lam (view profile)

Contact us