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

excelMATLAB

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?

Best Answer

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)