find the x value

조회 수: 3 (최근 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에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by