Question
In matlab!! Please create a function that can read dat files and export as a matrix. Then if you sort the dat file such that
In matlab!!
Please create a function that can read dat files and export as a matrix. Then if you sort the dat file such that you have a matrix with 2 rows. One has the x coordinates going from 0 to 1 and the other has the y coordinates. Then what you might be able to do is loop through the elements of the matrix and basically check the x value at one entry, then we know the x value at the next entry will correspond to a bottom airfoil point (assuming the previous point corresponded to a top point) then you can just search for the x in the array that is closest to the x value in question. If the corresponding y value is larger than the previous y value, the en sort it in the bottom
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started