Professional Documents
Culture Documents
Student Datasheet
Student Datasheet
clear;
a=xlsread('C:\Users\Prabal\Desktop\datasheet.xlsx','Sheet1');
b=a(:,1);
c=length(b);
for i=1:c
fprintf('ROLL NUMBER: %d\n', b(i));
end
e=d+1;
f=a(:,e);
fprintf('\n\n');
fprintf('Marks in %s (against the above roll numbers) are as follows: \n\n', r);
for i=1:c
fprintf('ROLL NUMBER: %d ----> MARKS: %d \n', b(i), f(i) );
end
fprintf('\n\n');
g=input('Enter the roll number against which marks of the subjects are to be
extracted: ');
h=0;
for i=1:c
end
k=a(h,:);
fprintf('\nFor roll number: %d, marks obtained in the subjects are as follows:\
nSubject A ---> %d\nSubject B ---> %d\nSubject C ---> %d\n',g, k(2), k(3), k(4) );