Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab Polyfit help. Can someone help me code this so my line of best fit better fits my scatter points? I tried working with polyval
Matlab Polyfit help.
Can someone help me code this so my line of best fit better fits my scatter points?
I tried working with polyval and mu and s values but I'm not sure how to best fit this line.
Thanks for your help
ime X indent le Advance FILE NAVIGATE EDIT Figure 1 Spring 2021 ) Experimental Aerodynamo File Edit View Insert Tools Desktop Window Help Editor - Spring 2021\Experimental Aerodynamis (MAE 253) Lab2.mx + 1.7 Re - (Density) (freestream Veloci Viscosity) Re - ((((Density_air).*(Freestream 1.6 6 1.5 TE = ((3.85*10^5)./(Re)); # Turbul o OOO OOO O 1.4 Pressure Coefficient : cp - ((Delta_P)./ (P_transducer_SI 1.3 O 113 114 115 - 116 117 - 118 119 120 - 121 122 123 124 - 125 126 - 127 - 128- 129 - 130 - 131 - 132 133 1.2 1.1 1 [yi, s,mu) - polyfit(Re, Cp,3); Tyla, delta) - polyval (yl, Re, S,mu); figure scatter ((Re). (Cp), 'LineWidth',.5); hold on grid on plot (Re, yla,'-'); hold of 0000 0.9 0.8 0.5 1 1.5 2. 2.5 3 3.5 4 4.5 105Step 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