How can I write subplot function involving if statements

7 ビュー (過去 30 日間)
Zaki Vanden
Zaki Vanden 2021 年 1 月 1 日
回答済み: Cris LaPierre 2021 年 1 月 1 日
I am a beginner in learning matlab.
I am trying to draw plots of the data that fit two conditions. The code needs to check the number of rows and columns of the matrix and if the row number is more than 100 and column number is equal to 3 then the function will plot all elements of even numbered columns in different subplots.
I would be grateful if you can help with the code.

回答 (1 件)

Cris LaPierre
Cris LaPierre 2021 年 1 月 1 日
This seems to be more of an assignment about indexing. See the array indexing documentation page.

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by