Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

delete cell element from a big cell array

$
0
0
I had a matrix with mixed data in csv of 45212*17 dimensions

i used textscan and created a cell array D{1,m}(n,1)
i want to delete some elements but when i try

 for i=1:45212
if (D{1,13}(i,1)>1)
for j=1:17
D(1,j)(i,1)=[]
end
end
end
Error: ()-indexing must appear last in an index expression.
what's the problem?!
what should i do?!

Viewing all articles
Browse latest Browse all 19628

Trending Articles