Plotting 10 biggest time gaps from Historical data

Hello everyone,
I need to find 10 biggest time gaps from minute stock data and plot it. At first I founded 10 biggest time gaps from d2 array (tried to make this search faster than using cycle) : A = [d2.date]; B = [d2.date(2:end)]; C = d2.date(end); D = [B, C]; E = D-A; sortE = sort(E); x = 10 xmax = sortE(end-(x-1):end).
But from here I do not know how to plot it, that it would show not only the values of the time differences but also the date from when it started until when it ended. Should I used loop from the start? I would like to know how to plot the time differences with the dates which belong to them does not matter how. Thank you. Have a great day!

Respuestas (0)

La pregunta está cerrada.

Productos

Preguntada:

el 21 de Sept. de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by