How to plot this equation?

1 次查看(过去 30 天)
Manav Divekar
Manav Divekar 2022-4-11
回答: Voss 2022-4-11
L = 10
u = (10^-3)*x -966.667(x^2-2*L*x)
and
u = (10^-3)*x - 0.6768(x^2-2*L*x) +0.3773(x^3-3*L^2*x)
together?

采纳的回答

Voss
Voss 2022-4-11
Here's how you might calculate and plot some similar curves. You can take the syntax and apply it to yours.
L = 10;
x = -1000:0.01:1000;
u = (10^-3)*x - 1800*(x.^2-3*L*x);
plot(x,u)
hold on
u = (10^-3)*x - 2*(x.^2-4*L*x) + 6.6*(x.^3-2*L^2*x) ;
plot(x,u);

更多回答(0 个)

类别

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

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by