plotting graph with multiple uknown variables
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (2)
John D'Errico
am 18 Dez. 2021
Bearbeitet: John D'Errico
am 18 Dez. 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.)
0 Kommentare
Star Strider
am 18 Dez. 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.
.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!