plotting graph with multiple uknown variables

3 visualizaciones (últimos 30 días)
ilan ancelseritcioglu
ilan ancelseritcioglu el 18 de Dic. de 2021
Respondida: Star Strider el 18 de Dic. de 2021
Hello Im new with matlab and I couldnt figure out if its possible to plot this equation.
u0 w v0 are constant that we dont know.
x(y)=(u0/w)*sin(w*y/v0)
Thank you

Respuestas (2)

John D'Errico
John D'Errico el 18 de Dic. de 2021
Editada: John D'Errico el 18 de Dic. de 2021
Sorry. If you have no idea what all of those parameters are, then there is nothing you can plot. A plot requires NUMBERS. You have no numbers.
Yes. You know that it will be essentially a sine wave. But the amplitude of that sine wave is unknown. The period of the sine wave is unknown. So exactly what would you hope to plot? The only thing you do know is the sine wave will pass through the point (0,0). Well, it will unless w or v0 are 0. In those cases, the curve will be everywhere undefined.
Beyond that there is nothing you can hope to plot. And this question has effectively nothing to do with MATLAB or your experience with it, as unless you know those three parameters, then it is meaningless to try to plot anything. (A tiny caveat there, if you know the RATIO of w/v0, AND the ratio of u0/w, both a specific values, then you can plort a curve.)

Star Strider
Star Strider el 18 de Dic. de 2021
If the objective is to determine those parameters from data, it will be relatively straightforward to adapt the approach in Curve fitting to a sinusoidal function to that model. I will help as needed.
.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by