solving function from different formula
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Nimbuzz Kurodo
il 5 Ott 2021
Modificato: Nimbuzz Kurodo
il 5 Ott 2021
find x value from 3 different value of formula
0 Commenti
Risposta accettata
Walter Roberson
il 5 Ott 2021
Example
part1 = @(x) (x < 2).*(4*sqrt(x) + 2)
part2 = @(x) (x >= 2 & x <= 5).*(3*x - 1)
part3 = @(x) (x > 5) .* 5./x;
y = @(x) part1(x) + part2(x) + part3(x);
fplot(y, [0 10])
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!