Graphing data for graph

2 views (last 30 days)
Thinh Vo
Thinh Vo on 13 Feb 2018
Answered: Arvind Narayanan on 1 Mar 2018
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 Comment
M
M on 13 Feb 2018
Edited: M on 13 Feb 2018
Did you read this ?

Sign in to comment.

Answers (1)

Arvind Narayanan
Arvind Narayanan on 1 Mar 2018
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

Categories

Find more on Networks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!