フィルターのクリア

HOW TO COMPARE THE TWO DIFFRENT ARRAYS ELEMENTS IN MATLAB

2 ビュー (過去 30 日間)
live to l e a r n  MATLAB
live to l e a r n MATLAB 2012 年 9 月 12 日
hi HOW TO COMPARE THE TWO DIFFRENT ARRAYS ELEMENTS IN MATLAB a=[1 2 3 4 5 5] b=[1 2 4 5 3 6] this two are the inputs
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 12 日
what is the expected result?
Matt Fig
Matt Fig 2012 年 9 月 12 日
Kesavan, You need to be more precise. Did you see what I wrote in my answer below? So explain in what way you want to compare elements.

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

採用された回答

Matt Fig
Matt Fig 2012 年 9 月 12 日
編集済み: Matt Fig 2012 年 9 月 12 日
It depends on what you mean by "compare elements" in your application.
A = [3 4]; % An array. Let's "compare" elements...
A(1)>A(2)
A(1)<A(2)
A(1)==A(2)
  1 件のコメント
Matt Fig
Matt Fig 2012 年 9 月 12 日
And in what way do you want to compare them? Look at what I wrote above, think it over, write a comment that clearly shows what you want to do!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConverters (High Power) についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by