Using FPLOT to plot a multi variable function
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Naveen
el 5 de Feb. de 2014
Comentada: Manuel Ruivo de Oliveira
el 11 de Abr. de 2022
Lets say I have function f= (x^3+y^3+z^3). For a constant y and z, I want to plot function 'f' between xmin<x<xmax using fplot. Is this possible?
0 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Feb. de 2014
f = @(x,y,z) x^3+y^3+z^3;
ycon = 5;
zcon = .34;
fun = @(x) f(x,ycon,zcon);
xmin = -4;
xmax = 6;
fplot(fun, [xmin, xmax])
5 comentarios
Manuel Ruivo de Oliveira
el 11 de Abr. de 2022
Thanks, that works. I have a related question about plotting a function given as an integral depending on a parameter, but that seems to deserve it's own post so I'll start a new discussion.
Más respuestas (2)
Pratiksha Shinde
el 7 de Ag. de 2020
How to find FFT of boost converter Boost converter
1 comentario
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!