Plotting excel data in MATLAB

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 日

0 投票

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

タグ

質問済み:

2022 年 6 月 9 日

コメント済み:

2022 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by