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?

 採用された回答

KSSV
KSSV 2022 年 11 月 1 日
編集済み: KSSV 2022 年 11 月 1 日

1 投票

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.
KSSV
KSSV 2022 年 11 月 1 日
data is array....you can put loop.
uzzi
uzzi 2022 年 11 月 1 日
That's the question!!! I don't know how to put loop.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

製品

質問済み:

2022 年 11 月 1 日

コメント済み:

2022 年 11 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by