필터 지우기
필터 지우기

Find the attachment of the xls file that has the student ID, Name, Branch and others ( total 7 coloums )

조회 수: 1 (최근 30일)
I have written the matlab code already those who got less than 75% of attendance for the given attached excel file. What actually I need is the Ht No, Student Name and average which should be displayed in the another excel sheet those who got less than 75% of attendance?

채택된 답변

KL
KL 2018년 3월 2일
편집: KL 2018년 3월 2일
If you're using tables, store your filtered data in a new table and use writetable
T = your_actual_table;
T_filtered = T(T.AttendencePercent>=0.75,{'No','Name','Average'});
writetable(T_filtered, filename)
  댓글 수: 8
KL
KL 2018년 3월 2일
Try this,
T = readtable('filename.xls');
T(strcmp(T.Branch,'CIV'),:)
T(T.Average>=60,:)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by