Borrar filtros
Borrar filtros

Is it possible to get a relationship between two vectors in matlab?

1 visualización (últimos 30 días)
CHITHRA
CHITHRA el 15 de Jul. de 2013
I have 2 vectors x and y. I need to represent y as a function of x. Is it possible to do so in matlab?

Respuestas (1)

David Sanchez
David Sanchez el 15 de Jul. de 2013
plot(x,y)
will do the trick, as long as x and y are of the same length.
  1 comentario
David Sanchez
David Sanchez el 15 de Jul. de 2013
and if you want to get the relationship, use the curve fitting tool by typing
cftool
A user interface will be prompted where you can approximate your data to the shape of your liking.

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by