Gradient of scalar in 2D new

Comparing the filled contour plot of the scalar function to the quiver plot of its gradient vector function
13 descargas
Actualizado 18 mar 2022

Ver licencia

Live Script showing an example of a function H in 2D space (x and y) evaluated as a filled contour plot. The gradient of H is a vector field with arrows pointing to and away from local maxima and minima, respectively, and magnitudes (relative arrow length) corresponding to the change in H with respect to change in x and y (partial derivatives).

Citar como

Roche de Guzman (2024). Gradient of scalar in 2D new (https://www.mathworks.com/matlabcentral/fileexchange/108204-gradient-of-scalar-in-2d-new), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0