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

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

 Respuesta aceptada

mougin
mougin el 14 de Mayo de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Mayo de 2023

Respondida:

el 14 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!