This script helps you to understand how to determine the outward normal of an airfoil or closed curve and plot vectors normal to the curve.
Vijay Anand (2019). Plot Pressure Distribution (Cp) Over an Airfoil / Aerofoil ; Vector Plot ; Arrow Plot (https://www.mathworks.com/matlabcentral/fileexchange/64639-plot-pressure-distribution-cp-over-an-airfoil-aerofoil-vector-plot-arrow-plot), MATLAB Central File Exchange. Retrieved .
This script is to demonstrate plotting of vectors over a closed curve in 2d.
Aerospace people will appreciate the importance of this plot. Since it was not available in matlab as a function, I tried to demonstrate it!
Just plotting large arrays of data? What's the point?