From: Sreevas on 28 Jun 2010 06:11 I am only a second day user of matlab. How can I find the sinusoidal response of a system? I have a low pass filter for which I found the impulse response and step response by step(...) and impulse(...) functions respectively.But what is the way to find the sinusoidal response of the low pass filter?
From: Wayne King on 28 Jun 2010 06:20 "Sreevas " <mailsreevas(a)gmail.com> wrote in message <i09sfp$qua$1(a)fred.mathworks.com>... > I am only a second day user of matlab. How can I find the sinusoidal response of a system? I have a low pass filter for which I found the impulse response and step response by step(...) and impulse(...) functions respectively.But what is the way to find the sinusoidal response of the low pass filter? Hi, Based on your post, I'm not sure whether you are modeling an analog or discrete-time system, but see >>doc freqs or >>doc freqz Hope that helps, Wayne
From: Sreevas on 28 Jun 2010 08:33 i am jus modelling a system having a resistance and capacitance. Where can i find the doc freqs? "Wayne King" <wmkingty(a)gmail.com> wrote in message <i09t15$2le$1(a)fred.mathworks.com>... > "Sreevas " <mailsreevas(a)gmail.com> wrote in message <i09sfp$qua$1(a)fred.mathworks.com>... > > I am only a second day user of matlab. How can I find the sinusoidal response of a system? I have a low pass filter for which I found the impulse response and step response by step(...) and impulse(...) functions respectively.But what is the way to find the sinusoidal response of the low pass filter? > > Hi, Based on your post, I'm not sure whether you are modeling an analog or discrete-time system, but see > > >>doc freqs > > or > > >>doc freqz > > Hope that helps, > Wayne
From: Faraz Afzal on 28 Jun 2010 08:51 "Sreevas " <mailsreevas(a)gmail.com> wrote in message <i09sfp$qua$1(a)fred.mathworks.com>... > I am only a second day user of matlab. How can I find the sinusoidal response of a system? I have a low pass filter for which I found the impulse response and step response by step(...) and impulse(...) functions respectively.But what is the way to find the sinusoidal response of the low pass filter? Wow.. It makes me so happy when i See people asking intereting question and then loooking at the power of Matlab turn to it forever.. Here is the way to simulate ur response.. u will use gensig command. To generate a sine wave of PERIOD = 3 sec, DURATION = 10 sec SAMPLED AT = 0.1 sec Use this.. [u,t] = gensig('sin',3,10,0.1) Once you achieved it use this to find response.. lsim(sys,u,t) Let me know if it was help.. Regards, Muhammad Faraz
From: Wayne King on 28 Jun 2010 08:55
"Sreevas " <mailsreevas(a)gmail.com> wrote in message <i0a4qg$id2$1(a)fred.mathworks.com>... > i am jus modelling a system having a resistance and capacitance. Where can i find the doc freqs? > "Wayne King" <wmkingty(a)gmail.com> wrote in message <i09t15$2le$1(a)fred.mathworks.com>... > > "Sreevas " <mailsreevas(a)gmail.com> wrote in message <i09sfp$qua$1(a)fred.mathworks.com>... > > > I am only a second day user of matlab. How can I find the sinusoidal response of a system? I have a low pass filter for which I found the impulse response and step response by step(...) and impulse(...) functions respectively.But what is the way to find the sinusoidal response of the low pass filter? > > > > Hi, Based on your post, I'm not sure whether you are modeling an analog or discrete-time system, but see > > > > >>doc freqs > > > > or > > > > >>doc freqz > > > > Hope that helps, > > Wayne It's a function in the Signal Processing Toolbox. Wayne |