hi, i use code contain the following code . i need the output for the following code dont display in output ?
Show older comments
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 Comments
Robert
on 23 Aug 2016
Are you saying that the output from whos does not appear in the Command Window? How are you calling this code? Please provide more information about the code that contains this excerpt.
mohammed elmenshawy
on 23 Aug 2016
Edited: Walter Roberson
on 23 Aug 2016
Walter Roberson
on 23 Aug 2016
Where do you want it displayed?
mohammed elmenshawy
on 23 Aug 2016
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!