Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Coul someone please help me? Posted by uniden6000 on 12 Mar 2009 at 12:15 PM
I have a small matlab assignment, but I don't know how to start.
Could someone please give me some hints? Matlab doesn't let me start a vector with a zero, but the delta function is only defined at zero. I tried ignoring that problem and defining delta at one (which is probably wrong), and I get errors for h[n]. Also, how do I check for BIBO stability in Matlab?

Given the discrite LTI system:
h[n] = -1.4y[n-1] - 0.5y[n-2] + 1delta[n-1] + -0.4delta[n-2]
Find the impulse response h[n] for n = 0...40, and plot it. Then check if the system is BIBO stable (using MATLAB)

Any help will be appreciated.
Report
Re: Coul someone please help me? Posted by giug on 12 Mar 2009 at 1:26 PM
There exist the matlab function dirac that implements the delta. So, delta(0)=Inf.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.