hi, i use code contain the following code . i need the output for the following code dont display in output ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mohammed elmenshawy
le 23 Août 2016
Commenté : mohammed elmenshawy
le 24 Août 2016
for i=1:mm
temp1=A(i,:,:);
whos temp1
temp2 = nonzeros(temp1);
whos temp2
temp3 = unique(temp2);
whos temp3
temp4=sum(temp3);
whos temp4
temp5 = length(temp3);
whos temp5
b(i)=temp4/temp5;
end
4 commentaires
Réponse acceptée
KSSV
le 24 Août 2016
As you see there is whos used in the code...(whos temp1 etc.,). whos lists in alphabetical order the names, sizes, and types of all variables in the currently active workspace. So to avoid that listitng you comment (%) the lines starting with whos.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!