Plotting excel data in MATLAB

5 次查看(过去 30 天)
Sunday Aloke
Sunday Aloke 2022-6-9
I have an excel file with multiple cells and sheets. In each sheet, I want to plot the date and the data on the last column of each sheet and the graphs will be in one plot. Please I need assistant.

回答(1 个)

Mahmoud Ashraf
Mahmoud Ashraf 2022-6-9
first what is the extension of the excel file .xlsx , .csv and so on to load the data form excel
each extension has its load function
xlsread('file name.xlsx');
fopen(csv_filename);
after loading the data, now we plot it accoding to the syntx here
and use hold on to plot all graphs in a single figure

标签

Community Treasure Hunt

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

Start Hunting!

Translated by