How to plot the Gradient direction of a function at a different points on the function?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!