This is an example of NACA 5 series function =Airfoil5(nU,nL,NACA) I need the third option of data collection working similar to that. That is part of the main program that is currently working for 4 and 5 series, it gets the x and y coordinates in an array and plots them for future usage. function =FSP()įprintf('Enter option: 1= 4 series, 2=5 series 3= upload') įourDigit=input('\n Type in NACA 4 series: ') Īlpha = input ('\n Type in angle of attack in degree: ') įiveDigit= input('\n Type in NACA 5 series: ') However, I want another option to have user generate their own x and y coordinates of the airfoil and I need to be able to use those values in the program. So far: I have generated equation for NACA 4 and 5 series airfoil based on the input series number from the user. I have the main program that is using airfoil geometry to calculate pressure distribution and use the pressure distribution later on in other equations. This is the program I'm trying to create (very new to Matlab).