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

조회 수: 1 (최근 30일)
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);

답변 (1개)

Walter Roberson
Walter Roberson 2015년 12월 1일
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.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by