What can I do to create two scripts one for each 'for loop' call the variable from one script to the other. And so make a plot (CL, CL1).
1 (this i will make a plot):
VetorN = fix ( 20 * ( sqrt(2) .^ ( 0 : 5 ) ) );for k = 1 : numel(VetorN) DiscSt.N(k) = VetorN(k); WingSt.AoA = deg2rad( 5 ); WingSt.CL = WingSt.AoA + DiscSt.N; CL = WingSt.CL; end plot(CL,CL1)
2:
z = 2; VetorA = ( 0 + ( z *( 0 : in ) ) ); for j = 1 : numel( VetorA ) DiscSt.N = N; WingSt.AoA(j) = deg2rad( VetorA(j) ); % input angle of attack
WingSt.CL = WingSt.AoA + DiscSt.N; C = [ 1 1 WingSt.AoA 1 1]; CL1 = WingSt.CL end C
Best Answer