Question: THIS IS A MATLAB QUESTION All points with coordinates x=rcos() and y=rsin(), where r is a constant, lie on a circle with radius r, i.e.
THIS IS A MATLAB QUESTION

All points with coordinates x=rcos() and y=rsin(), where r is a constant, lie on a circle with radius r, i.e. satisfy the equation x2+y2=r2. Create a row vector for with the values =0,6,4,3,34,45 and 56. Take r=6 and compute the row vectors x and y. Now check that x and y indeed satisfy the equation of a circle, by computing the radius r=x2+y2 Hint: To calculate r you will need the array operator . for squaring x and y. Of course, you could also compute x2 by xx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
