being equals of 2 matrics

1 回表示 (過去 30 日間)
som
som 2011 年 11 月 1 日
Hi all
i want to compare two matrices if they are equal or not. but I dont want to use two for-loop. could you please guide me???
thanks

採用された回答

Daniel Shub
Daniel Shub 2011 年 11 月 1 日
a = rand(2)
b = rand(2)
isequal(a,a)
isequal(b,b)
isequal(a,b)
  1 件のコメント
som
som 2011 年 11 月 1 日
thank you in advance

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by