equal of some arrays two vector

2 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by