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);
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!