Filter löschen
Filter löschen

equal of some arrays two vector

2 Ansichten (letzte 30 Tage)
mohammad azsad
mohammad azsad am 2 Nov. 2014
Kommentiert: mohammad azsad am 2 Nov. 2014
in part of my program there are two equal size vector i want to write a loop that find arrays that equal with each other and these arrays must be use go on,help me?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 2 Nov. 2014
a=[1;2;3;4;6];
b=[0;2;3;5;6]
idx=find(a==b)

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by