How to plot with 3 inputs but 2 are steady?
1 visualizzazione (ultimi 30 giorni)
So I've got the function f(x,y,z) = [0;0;x+1].
My attempt at plotting it results in
[x,y,z] = meshgrid(-2:0.2:2);
fx = 0; fy = 0; fz = x+1;
doesn't seem to work, because the value "0" doesn't match the 41x41x41 double vector or tensor or whatever of x and y.
How I create such?