Community Profile

photo

Lou


Last seen: ungefär 2 månader ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Why is my nested if statement is not working.
fid = fopen('studentData.txt', 'r'); while (~feof(fid)) str = fgetl(fid); T = textscan(str,'%s %s %f %f %f %f %f %f %f %...

ungefär 2 månader ago | 3 answers | 0

3

answers

Question


How do i calculate the sum of each row
fid = fopen('studentmarks.txt', 'r') if fid == -1 disp('Error, check file name') else T = textscan(fid,'%s %s %f %f %f %...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


How to extract the data from this text file
Tom 57 66.5 25 40 45 76 55 78 Bill 90 80 98 67 77 89 45 87 Mary 95 78 67 65 45 67 45 89 Kathy 67 89 65 34 33 21 67 65 Bill ...

ungefär 2 månader ago | 0 answers | 0

0

answers