Plot a Time Serie of the price of a share

I have to make the graph of a time series of prices of a share. The line should be red when the price goes below the average of the price, black when it goes above average. how can I do? thanks

Respuestas (1)

Alka Nair
Alka Nair el 4 de Jun. de 2015

0 votos

You can use time Series Objects to plot time series data. Please refer to the documentation at the following page:

Categorías

Preguntada:

el 30 de Mayo de 2015

Respondida:

el 4 de Jun. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by