why it will go wrong using 'cell'?
Mostra commenti meno recenti
Recently, I ran two codes as follow:
a={[],[]};a{1}(a{1}==3)=[];
% it will go wrong
b=cell(1,2);b{1}(b{1}==3)=[];
2 Commenti
The difference is the space allocated for each.
a={[],[]};
b=cell(1,2);
whos a b
warnerchang
il 31 Mar 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!