convert from cell to a number?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
so i have this code,
for bbb = 1:counter countermatrix{bbb} = 0; end
when i compare countermatrix{1} to 0, it gave me a 0, which means no i think, why is this?
i use strcmp(0, countermatrix{1})
returns 0
thanks
0 Kommentare
Akzeptierte Antwort
Wayne King
am 27 Sep. 2011
You mean:
for bbb = 1:10
countermatrix{bbb} = 0;
isequal(countermatrix{bbb},0)
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!