I've got a matlab question. This may be asked frequently. If so, I apologize. Anyway, I have data that look like this
332700424 90905 336370986 A 332700424 90906 306356986 A 332700424 90912 326111986 B+ 332700424 90940 311370986 A- 332700424 90915 311370986 B 332700424 90907 323555986 A-
They represent: instructor, course number, student, grade.
What I want to do is convert the grades into floating points (A = 4.0, A- = 3.6667, etc.) and read the data into a 6 column by 4 row matrix.
I can't manage to get fscanf to handle it. Could someone please send me a code segment that can read these data? I'd be more than happy to read the data element by element in a loop, but I can't figure out how to do that either.