Problem 44398. ベクトルの値が増加しているかを調べよう

ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。

例:

   入力が  x = [-3 0 7] のとき、
   関数の出力 tf は true を返します。
   入力が  x = [2 2] のとき、
   関数の出力 tf は false を返します。

Solution Stats

34.05% Correct | 65.95% Incorrect
Last Solution submitted on Mar 12, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers314

Suggested Problems

More from this Author12

Community Treasure Hunt

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

Start Hunting!