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
댓글 수: 0
답변 (2개)
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.)
댓글 수: 0
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.
.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!