답변 (1개)

Thorsten
Thorsten 2015년 11월 23일
편집: Thorsten 2015년 11월 23일

0 개 추천

Have a close look at your code. You set
raw{r+1,cols+2}=s;
before you determine the value of s in the following if s... clauses. Compare against s(r-1), s computed in your first while loop, and assign the corresponding grade to raw{r+1, cols+2}:
if s(r-1) >= 90
raw{r+1, cols+2} = 'F'
else...% always use s(r-1)
end
r = r +1;

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

질문:

2015년 11월 23일

편집:

2015년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by