I need help with plotting streamlines and velocity field

2 views (last 30 days)
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 Comments
darova
darova on 19 Sep 2019
What efforts have been made? Do you any ideas how to proceed?
Stephen Mixon
Stephen Mixon on 19 Sep 2019
I know how to plot the coordinates and resolution of the system. I am just unsure how to plot the streamline

Sign in to comment.

Answers (1)

darova
darova on 19 Sep 2019
Use gradient() and streamline()

Categories

Find more on Vector Fields in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!