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!
0 个评论
回答(0 个)
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!