如何判断两个单元数组cell相等?。

如题:
使用命令:cell==cell2 和 eq(cell1,cell2)
这两句,都不能实现,希望高手指点。

 Risposta accettata

mougin
mougin il 14 Mag 2023

0 voti

有两个cell型的数组想实现如下程序:
for i=1:16906
for j=2:229
for x=2:251
if a(i,1)==b(1,j)&&a(i,2)==b(x,1)
b(x,j)=[];
end
end
end
end
但是出错“没有使cell数据相等的eq函数”请高手指点!谢谢

Più risposte (0)

Categorie

Scopri di più su MATLAB 快速入门 in Centro assistenza e File Exchange

Tag

Richiesto:

il 14 Mag 2023

Risposto:

il 14 Mag 2023

Community Treasure Hunt

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

Start Hunting!