How to find the volume from a set of 500 datas?

2 次查看(过去 30 天)
Inside a 2 stroke engine, I have a set of data of crank angle and pressure, which is huge (500). And I need to find the volume of the cylinder,
I know the value of Vd, theta, r and R.
I already import the data into Matlab.
My problem is how can I write the matlab code so that I can get the plot of Pressure and theta?
  2 个评论
Mahdi
Mahdi 2013-4-3
编辑:Mahdi 2013-4-3
Is the data that you show the pressure and theta values?
Side note: I suggest that you give your filenames more descriptive titles than "equation", "exercise", and "E".
J K
J K 2013-4-3
Yes, the left side is the theta, and the right column is the pressure.

请先登录,再进行评论。

采纳的回答

Mahdi
Mahdi 2013-4-3
plot(Data(:,1), Data(:,2))
  4 个评论
J K
J K 2013-4-4
THank you.
But how to show on the title on the axis?
Mahdi
Mahdi 2013-4-9
I assume you want to add a title to the plot? After using the plot line, type
title('What you want the title to be')

请先登录,再进行评论。

更多回答(0 个)

类别

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