q1fromsect18 - y= imag(c); fprintf('Rectangular coordinates...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [ output_args ] = q1fromsect18( ) %Q1FROMSECT18 Summary of this function goes here % Detailed explanation goes here c = ((2+j*5)*(1-j*5)) / ((1+j*7)*(3+j*2)); x= real(c);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y= imag(c); fprintf('Rectangular coordinates \n%f %fi\n',x,y) [theta,r]=cart2pol(x,y); fprintf('Polar coordinates (theta, radius) \n%f, %f\n',[theta,r]) end e...
View Full Document

Ask a homework question - tutors are online