hi,i am getting error as not enough input arguments,while i run the below code.........which input arguments are less?? please let me know that?

function [ x,n ] = impseq(n0,n1,n2)
%UNTITLED2 Summary of this function goes here
% generates x(n)=delta(n-n0);n1<=n<=n2
% [ x,n ] = impseq(n0,n1,n2)
n=[n1:n2]
x=[(n-n0)==0];
end

Answers (1)

Categories

Asked:

on 24 Nov 2013

Edited:

on 24 Nov 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!