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

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

 採用された回答

mougin
mougin 2023 年 5 月 14 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

質問済み:

2023 年 5 月 14 日

回答済み:

2023 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!