Salut, 1. Define: z = H(x, y). 2. Differentiate analytically to obtain the gradient g = (gx,gy) = (dH/dx, dH/dy) 3. Use same contour method as before to plot |g| = 0
PS: as derivative has singularity along x=0; need to define grid appropriately to avoid it. Bonne chance Rafael -----Original Message----- From: users [mailto:[email protected]] On Behalf Of Hermes Sent: Monday, October 02, 2017 9:42 AM To: [email protected] Subject: [Scilab-users] numderivative Heart function Hola, I would like to find the values of the function for which its derivative is equal to zero. function val = Heart(x1, x2) val=(1.25*x2-sqrt(abs(x1))).^2+x1.^2-1; endfunction; I've tried it with the numderivative function. Gracias -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
