How to plot the Gradient direction of a function at a different points on the function?

I plot an ellipse by using
________________________
ezplot('4*x^2+y^2=10');
axis equal;
________________________
Now I want to show the gradient direction at different points on the ellipse like the following figure. Please provide suggestions. How can it be done by writing proper code?

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Vector Fields에 대해 자세히 알아보기

질문:

2018년 11월 24일

댓글:

2018년 11월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by