How can I can get complete streamlines?
2 views (last 30 days)
Show older comments
Hello everyone,
I'm trying to plot streamlines for a flow field. In the code attached Im varying the starting point and number of elements. However I'm not able to plot the entire streamlines (empty space) as shown in the figure attached. Please suggest any changes in the code so that I get complete streamlines.
0 Comments
Answers (1)
KSSV
on 1 Feb 2022
You increase the value of n.
n=200; % change this
starting_x = zeros(1,n); % starting points for streamlines
starting_z = linspace(-0.05,0.05,n);
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!