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

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

 Accepted Answer

mougin
mougin on 14 May 2023

0 votes

有两个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函数”请高手指点!谢谢

More Answers (0)

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Tags

Asked:

on 14 May 2023

Answered:

on 14 May 2023

Community Treasure Hunt

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

Start Hunting!