how can export and plot many data in the same figure
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
답변 (3개)
Azzi Abdelmalek
2014년 2월 20일
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
mohmad alrwiq
2014년 2월 20일
Azzi Abdelmalek
2014년 2월 20일
There are many methods, depending on the type of your file, and the type of your data (char, numeric), and how they are disposed. Give more details, you can post a sample of your data
mohmad alrwiq
2014년 2월 20일
Azzi Abdelmalek
2014년 2월 20일
What about your file? is it a text file? an Excell file?
mohmad alrwiq
2014년 2월 20일
Azzi Abdelmalek
2014년 2월 20일
v=xlsread('yourfilename.xlsx')
% Your file should be in the current folder, or specify the file name with its folder
Image Analyst
2014년 2월 23일
편집: Image Analyst
2014년 2월 23일
0 개 추천
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.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!