Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
J K
J K el 3 de Abr. de 2013
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 comentarios
Mahdi
Mahdi el 3 de Abr. de 2013
Editada: Mahdi el 3 de Abr. de 2013
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 el 3 de Abr. de 2013
Yes, the left side is the theta, and the right column is the pressure.

Iniciar sesión para comentar.

Respuesta aceptada

Mahdi
Mahdi el 3 de Abr. de 2013
plot(Data(:,1), Data(:,2))
  4 comentarios
J K
J K el 4 de Abr. de 2013
THank you.
But how to show on the title on the axis?
Mahdi
Mahdi el 9 de Abr. de 2013
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')

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by