find the x value

2 次查看(过去 30 天)
Nimbuzz Kurodo
Nimbuzz Kurodo 2021-10-5
回答: KSSV 2021-10-5
i have three function
part 1 : y=10 sqrt(x) + 20 x >= 8
part 2 : y=5x + 20 x <= x <= 8
part 3 : y=10 x < 0
how to find x value using matlab script ?

回答(1 个)

KSSV
KSSV 2021-10-5
I will show one for you, rest you should follow the same.
% y=10 sqrt(x) + 20 x >= 8
x = linspace(8,100) ;
y = 10*sqrt(x)+20 ;
plot(x,y)

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by