bttg13 - ee=polyval(e,x) ff=polyval(f,x)

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

View Full Document Right Arrow Icon
clear clc % polinom toplamý b=[2 5 -5 7]; a=[0 -5 9 1]; e=b+a; f=b-a; x=linspace(-2,5,1000); x bb=polyval(b,x); aa=polyval(a,x);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ee=polyval(e,x) ff=polyval(f,x) plot(x,bb,'-k',x,aa,'-b',x,ee,'-r',x,ff,'-g') p...
View Full Document

Ask a homework question - tutors are online