This is an example of how to visualize vector fields with streamlines in MATLAB®. Vector fields contain vector information for every point in space. For example, air flow data inside a wind tunnel is a vector field.
Read about the "streamline" and "coneplot" functions in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
MathWorks Plot Gallery Team (2019). MATLAB Plot Gallery - Streamline (https://www.mathworks.com/matlabcentral/fileexchange/35248-matlab-plot-gallery-streamline), MATLAB Central File Exchange. Retrieved .
1.1.0.2 | Added live script |
|
1.1.0.1 | Updated license |
|
1.1.0.0 | Updated screenshot. |
Create scripts with code, output, and formatted text in a single executable document.