Gistlib Logo

gistlib

use matlab to find the poles and zeros of the following functions. 𝑀(𝑠) = 100𝑠(𝑠 − 1)/(𝑠 + 2)(𝑠 2 + 3𝑠 + 2) in matlab

main.m
numerator = [100 0 -100];
denominator = conv(conv([1 0], [1 -1]), [1 3 2]);

poles = roots(denominator);
zeros = roots(numerator);

disp('Poles:');
disp(poles);

disp('Zeros:');
disp(zeros);
191 chars
12 lines

similar matlab code snippets

use matlab to find the poles and zeros of the following functions. 𝑀(𝑠) = 100𝑠(𝑠 − 1) (𝑠 + 2)(𝑠 2 + 3𝑠 + 2) 𝑀(𝑠) = 𝑒 −2𝑠 10𝑠(𝑠 + 1)(𝑠 + 2) in matlab
plot the pole zero map of a given transfer function in matlab
how do you derive a transfer function in matlab
a matlab scrip that plots the result for frequency response analysis for linear regenerative shock absorber in matlab
complex conjugate nyquist in matlab
dtft in matlab
create a class that represents a state machine where a state named "foo" moves to a state named "bar" if input "u" becomes negative in matlab
2d continuous fourier transform in matlab
create an fft plot given f, n, l and y(x) in matlab
downconvert a signal in matlab

related categories

matlab
signal-processing
control-systems

gistlibby LogSnag