plots giving wrong out output

I have two functions to plot(attached figure). I want to plot them and plot given by matlab seems not to be valid. Two functions will be equal at . two Funtions are, }
and the code is attached. #TIAbbbb.PNG

3 个评论

why do you say not valid? Attach the graph you want to attain apart from the one which your getting now.
You don't seem to have code for u1 there?
i added the code and little correction in the . both and will be equal at

请先登录,再进行评论。

 采纳的回答

Torsten
Torsten 2019-1-9

1 个投票

In your code, replace
g1/2*m1
g2/2*m2
by
g1/(2*m1)
g2/(2*m2)

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by