repetitive looping and plotting

Hello,
I want to create a loop such as for loop or while loop for every 6000 rows and plot each loop of the attached csv file. Can someone help me?

 采纳的回答

T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1175788/newdata3.csv') ;
data = reshape(T.(2),6000,[]) ;
plot(data)

3 个评论

uzzi
uzzi 2022-11-1
编辑:uzzi 2022-11-1
Hello. It doesn't generate each figure for every 6000 rows interval. I want it like a loop such as for loop or while loop and plot each interval. And I have my x-axis as time. In your graph, time is not showing.
data is array....you can put loop.
That's the question!!! I don't know how to put loop.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by