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

回答 (1 件)

Image Analyst
Image Analyst 2013 年 11 月 24 日
You can't just click the green triangle. You have to supply inputs for n0, n1, and n2. How did you run or call the function? Read this: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup

カテゴリ

ヘルプ センター および File ExchangeInertial Sensor Fusion についてさらに検索

質問済み:

2013 年 11 月 24 日

編集済み:

2013 年 11 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by