フィルターのクリア

Check true if value in a matrix is increasing,decreasing or staying same

9 ビュー (過去 30 日間)
sooraj ajith
sooraj ajith 2021 年 4 月 10 日
回答済み: the cyclist 2021 年 4 月 10 日
I have a matrix with x values. I want to check if the values in the matrix are increasing, decresing or are the same value. How to write this if function? For example x = [10;20;30;40]

採用された回答

the cyclist
the cyclist 2021 年 4 月 10 日
Use the diff command, and check whether the result is greater than zero, etc.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by