162LabLec1 - clear clc g=g g(1,1)= g,3 = g(1:3,2)=...

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

View Full Document Right Arrow Icon
clear clc g=g’ g(1,1)=_ g(:,3) = _ g(1:3,2)=_ g(1:3,3)=[] g(3) = [] ----- cut f = 2*ones(3,2) g*f (check dimention) g.*f 0:pi:100 ---- start, increment, end Linspace(0,20,60) --- start, end, #points A= linspace() Zeros(6,9) A= Rand(_,_) B= find(a>0.8) Length (b) For i = 1:10; B=b+I; For I =1:5 [t,x] = ode45(‘deriv’, [0 100],[i+18]); Hold on
Background image of page 1

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

View Full DocumentRight Arrow Icon
Plot(t,x) end Help ____
Background image of page 2
2/8 162 Lab Lec Sys=ss(A,B,C,D) Trans=tf(sys) Transfer function from input to output… #1: Trans(1,1) %call the first row, first column Trans_zpk = zpk(trans) Zero/pole/grain from input to output…
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/12/2011 for the course IEOR 162 taught by Professor Chu during the Spring '11 term at UC Merced.

Page1 / 4

162LabLec1 - clear clc g=g g(1,1)= g,3 = g(1:3,2)=...

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

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