I need help with plotting streamlines and velocity field

1 次查看(过去 30 天)
I have the function ?=5y^2 - 3x^2 - 10x - 5. I need to plot the streamlines and velocity field obtained from this function over a spatial grid with coordinates [0,0][0,4][4,0][4,4] and a x and y resloution of 0.1
  2 个评论
darova
darova 2019-9-19
What efforts have been made? Do you any ideas how to proceed?
Stephen Mixon
Stephen Mixon 2019-9-19
I know how to plot the coordinates and resolution of the system. I am just unsure how to plot the streamline

请先登录,再进行评论。

回答(1 个)

darova
darova 2019-9-19
Use gradient() and streamline()

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by