Gistlib Logo

gistlib

find the gradient of the function f=x^2y^3-4y in matlab

main.m
syms x y;
f = x^2*y^3 - 4*y;
gradient_f = [diff(f, x), diff(f, y)]
67 chars
4 lines

similar matlab code snippets

how to calculate the indefinite antiderivative of a function in matlab
how to calculate the definite antiderivative of a function in matlab
how to calculate the first derivative of a function in matlab
how to calculate the gradient of a function in matlab
how to calculate the integral of a function in matlab
how to calculate the laplacian of a function in matlab
how to calculate the third derivative of a function in matlab
how to calculate the second derivative of a function in matlab
how to calculate the antiderivative of a function in matlab
how to calculate the derivative of a function in matlab

related categories

matlab
calculus

gistlibby LogSnag