What should I do to create a raw .xlsx data table from as an alternative to disp()?

3 views (last 30 days)
I have a professor in my introductory MATLAB class who will not allow me to use the disp() function to create a table from the raw data in this spreadsheet. She told me to "create a loop and use fprintf" but I have no idea what she meant by that. It seems like it would be incredibly inefficient. Below is my code as it stands.
[~, ~, dataTable] = xlsread('filename.xlsx','thisPage');
disp(dataTable);

Answers (1)

Walter Roberson
Walter Roberson on 1 Dec 2015
Assignments are often given in terms of unrealistic or inefficient restrictions. If you want the marks for the assignment, you will implement it using the restrictions given by your professor.

Community Treasure Hunt

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

Start Hunting!