q3fromsect163

# Q3fromsect163 - xLabel'Real yLabel'Imaginary grid on title'Figure 1.4.5 Roots of Problem 3 subplot(1,2,2 plot-5:0.01:5,polynomial

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

function [ output_args ] = q3fromsect163( ) %Q3FROMSECT163 Summary of this function goes here % Detailed explanation goes here roots = [-2 2 -2+3j -2-3j]; p = poly(roots); range=-5:0.01:5; polynomial = polyval(p,range); subplot(1,2,1); plot(roots,'*') axis([-4,4,-4,4]) set(gca,'XTick',-4:1:4); set(gca,'YTick',-4:1:4);
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: xLabel('Real') yLabel('Imaginary') grid on title('Figure 1.4.5 Roots of Problem 3') subplot(1,2,2); plot(-5:0.01:5,polynomial) set(gca,'XTick',-5:1:5); set(gca,'YTick',-200:200:1400); xLabel('X') yLabel('Y') grid off title('Figure 1.4.6 Plot of Problem 3') end e...
View Full Document

## This note was uploaded on 10/02/2011 for the course CSE 3451 taught by Professor A during the Spring '10 term at York University.

Ask a homework question - tutors are online