Plotting excel data in MATLAB

5 views (last 30 days)
Sunday Aloke
Sunday Aloke on 9 Jun 2022
Commented: Sunday Aloke on 11 Jun 2022
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.

Answers (1)

Mahmoud Ashraf
Mahmoud Ashraf on 9 Jun 2022
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

Tags

Community Treasure Hunt

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

Start Hunting!