How can I make a function plot based on the values listed below?

조회 수: 1 (최근 30일)
Geir
Geir 2013년 10월 8일
답변: Geir 2013년 10월 8일
X Y
0.00000000e+000 1.10000000e+001
2.00000000e-001 1.12251709e+001
4.00000000e-001 1.13014028e+001
6.00000000e-001 1.12298588e+001
8.00000000e-001 1.10118247e+001
1.00000000e+000 1.06487213e+001
1.20000000e+000 1.01421188e+001
1.40000000e+000 9.49375271e+000
1.60000000e+000 8.70554093e+000
1.80000000e+000 7.77960311e+000
2.00000000e+000 6.71828183e+000
2.20000000e+000 5.52416602e+000
2.40000000e+000 4.20011692e+000
2.60000000e+000 2.74929667e+000
2.80000000e+000 1.17519997e+000
3.00000000e+000 -5.18310930e-001
3.20000000e+000 -2.32696758e+000
3.40000000e+000 -4.24605261e+000
3.60000000e+000 -6.27035254e+000
3.80000000e+000 -8.39410556e+000
4.00000000e+000 -1.06109439e+001
Column to the left goes for x-values, increasing steadily, column right for y-values.

답변 (3개)

ES
ES 2013년 10월 8일
doesn't
plot(x,y)
work?

Jie
Jie 2013년 10월 8일
just
plot(X,Y)
if ur workspace already have these 2 variables.

Geir
Geir 2013년 10월 8일
Excellent!!

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by