Hi,
dsolve() can't be used here.
Here is the good explantion how to solve your exercise: https://www.mathworks.com/matlabcentral/answers/362434-stream-function-from-velocity-vector-map
You'd need to employ pdepe() to solve this exercise.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!