Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I keep getting this error. I know why but i do not know how to make the program allow negative integers starting from -12 going

I keep getting this error. I know why but i do not know how to make the program allow negative integers starting from -12 going up by 1 until 20image text in transcribed

fid=fopen ( ' AOA vs CL . txt' , fprintf (fid, 'alp, CLIn; ' w ') ; alp0 =-2 . 2; -AR=10; e = 0.95; a 5.190457428; AOA= zeros (-12, 1, 12); CL zeros (-12, 1, 12) ; = for i =-12: 1:20 AOA (i) = i; CL(1) = a* (AOA (1) -alp0); fprint f (fid,' %8.4f %8.4f ',AOA (1),CL (1)); end plot (AOA, CL) xlabel (Alpha AOA) ylabel (Coefficient of Lift') title"Aplha vs Coefficient of Lift') axis ([-12,20,-2,2]) fclose (fid); mmand Window >HW204b Undefined function or variable 'x'. Error in HW24b (line 14) for i = 1:x (AOA) >HW204b >HW204b Subscript indices must either be real positive integers or logicals. Error in HW24b (line 14) AOA (i) i; =

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago