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

THIS IS A MATLAB QUESTION All points with coordinates x=rcos() and y=rsin(),

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!