Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how can export and plot many data in the same figure

1 vue (au cours des 30 derniers jours)
mohmad alrwiq
mohmad alrwiq le 20 Fév 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
how can export and plot many data in the same figure

Réponses (3)

Azzi Abdelmalek
Azzi Abdelmalek le 20 Fév 2014
Use plot function to plot your data. Look at
doc plot
To export your data, you can use
xlswrite % to xls file
csvwrite % to csv file
fprintf % to text file
...
  6 commentaires
mohmad alrwiq
mohmad alrwiq le 20 Fév 2014
excell file
Azzi Abdelmalek
Azzi Abdelmalek le 20 Fév 2014
v=xlsread('yourfilename.xlsx')
% Your file should be in the current folder, or specify the file name with its folder

mohmad alrwiq
mohmad alrwiq le 23 Fév 2014
i mean i have 25 exile file and i need to read them on matlab by one code

Image Analyst
Image Analyst le 23 Fév 2014
Modifié(e) : Image Analyst le 23 Fév 2014
You said export, not read. Anyway, see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F Inside the loop over all files, put your xlsread() and your analysis or plotting of the data.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by