How can I do plot from rpt culomns?

조회 수: 6 (최근 30일)
PeterHouse
PeterHouse 2017년 3월 23일
댓글: KSSV 2017년 4월 11일
Hello everybody, I have an rpt file and I need make a plot from this 2 culomns (but I don't know how form this type of file):
X Y
0. -300.E-36
9.99999E-03 -40.7684E-06
20.E-03 -81.531E-06
30.0002E-03 -122.283E-06
.... ....
.... ....
.... ....
...just easy x,y plot. So do you have (someone) any ideas?
Thanks for every help.
A15B0475P

답변 (1개)

KSSV
KSSV 2017년 3월 24일
data = importdata('your .rpt file') ;
x = data.data(:,1) ;
y = data.data(:,2) ;
plot(x,y)
  댓글 수: 2
PeterHouse
PeterHouse 2017년 4월 10일
Thank you KSSV, so much.
Lubos
KSSV
KSSV 2017년 4월 11일
Thanks is accepting the answer....

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by