how to plot vector fields in matlab ??
3 次查看(过去 30 天)
显示 更早的评论
create /prepare data for this vector field in spherical system and convert it to cartisian and then plot that cartisian in matlab
the vector fiels is: ? = ? *sin (phi) ?̂? − 1 /? * sin (theta)* cos (phi) ?̂phi + ?^ 2?̂theta.
2 个评论
回答(1 个)
Sriram Tadavarty
2020-4-4
Hi Pabba,
The other usable function for this is sph2cart function, which coverts the point in spherical coordinate system to a point XY coordinate system. The examples in the page, shows the way the function can be used.
Hope this helps.
Regards,
Sriram
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!