find the x value

2 vues (au cours des 30 derniers jours)
Nimbuzz Kurodo
Nimbuzz Kurodo le 5 Oct 2021
Réponse apportée : KSSV le 5 Oct 2021
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 ?

Réponses (1)

KSSV
KSSV le 5 Oct 2021
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)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by