How to load a excel file and 2D plot command!
显示 更早的评论
Hej there! I want to load a excel file data at matlab and plot that 2d! what will be the code for that!
回答(1 个)
Youssef Khmou
2013-3-3
try :
doc xlsread
Suppose you have a excel file 'Class.xlsx' with the following data :
1 4
1,5 1
In MATH command you can try :
>>num=xlsread('Class.xlsx');
>>plot(num(:,1),num(:,2));
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!