hi, i use code contain the following code . i need the output for the following code dont display in output ?

조회 수: 1 (최근 30일)
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
mohammed elmenshawy
mohammed elmenshawy 2016년 8월 23일
I want this screen does not appear absolutely, because it takes a large space in command window . As was used ; after the variable because prevent him from appearing. Is there a way to prevent the latest screen from appearing on command window

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2016년 8월 24일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by