solving function from different formula
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nimbuzz Kurodo
el 5 de Oct. de 2021
Editada: Nimbuzz Kurodo
el 5 de Oct. de 2021
find x value from 3 different value of formula
0 comentarios
Respuesta aceptada
Walter Roberson
el 5 de Oct. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!