hmk1sol[1]

hmk1sol[1] - 10 20 30 40 50 60 70 80 90 100 0.5 0.55 0.6...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Matlab Excercises 1. t=0:0.002:1; x=10*cos(12*pi*t+pi/4); plot(t,x); 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -10 -8 -6 -4 -2 0 2 4 6 8 10 2. x=5*rand(1,100)-2.5; plot(1:100,x); 0 10 20 30 40 50 60 70 80 90 100 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3. nmax=100; a=2.9; x=zeros(1, nmax); x(1)=0.77; for i=2:nmax x(i)=a*x(i-1)*(1-x(i-1)); end plot(0:nmax-1,x);
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 10 20 30 40 50 60 70 80 90 100 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 nmax=100; a=4.0; x=zeros(1, nmax); x(1)=0.77; for i=2:nmax x(i)=a*x(i-1)*(1-x(i-1)); end plot(0:nmax-1,x); 10 20 30 40 50 60 70 80 90 100 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ....
View Full Document

Page1 / 5

hmk1sol[1] - 10 20 30 40 50 60 70 80 90 100 0.5 0.55 0.6...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online