Graphing data for graph

조회 수: 1 (최근 30일)
Thinh Vo
Thinh Vo 2018년 2월 13일
답변: Arvind Narayanan 2018년 3월 1일
Hi guys, Can you please help me plot these data into matlab to create a graph.
Values are:
Flat Plate:
m ̇U_0 Exp. Force Theo. Force
0.5243 0.3918 0.5243
0.8526 0.7836 0.8526
1.3242 1.1754 1.3242
1.6746 1.5672 1.6746
2.0601 1.9590 2.0601
2.6010 2.3508 2.6010
2.9454 2.7426 2.9454
3.3737 3.1344 3.3737
3.3761 3.5262 3.3761
and:
Hemisphere
m ̇U_0 Exp. Force Theo. Force
0.4194 0.7836 0.8389
0.8529 1.5672 1.7058
1.3862 2.3508 2.7724
1.8517 3.1344 3.7034
2.3079 3.9180 4.6158
2.5979 4.7016 5.1958
3.0097 5.4852 6.0194
3.4720 6.2688 6.9440
I attached a picture for visual.
Thanks!
  댓글 수: 1
M
M 2018년 2월 13일
편집: M 2018년 2월 13일
Did you read this ?

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

답변 (1개)

Arvind Narayanan
Arvind Narayanan 2018년 3월 1일
Hi Thinh,
You can start by arranging the data into an Excel sheet and importing this into MATLAB as a struct variable. You can then dereference properties of the struct variable to refer to the separate fields and then plot them using the plot function.
If you would like to plot multiple graphs in the same axes, you can use the hold command or the drawnow command.
Thanks,
Arvind

카테고리

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