plotting graph with multiple uknown variables

1 次查看(过去 30 天)
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

回答(2 个)

John D'Errico
John D'Errico 2021-12-18
编辑:John D'Errico 2021-12-18
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 2021-12-18
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.
.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by