Input argument "s" is undefined ,what does this mean?

2 ビュー (過去 30 日間)
Neel
Neel 2014 年 2 月 19 日
コメント済み: Neel 2014 年 2 月 19 日
function rec = interpolation(s,delta_est,phi_est,factor)
tic;
n=length(s);
i am getting error in the 3rd line..plz help

回答 (2 件)

Mischa Kim
Mischa Kim 2014 年 2 月 19 日
編集済み: Mischa Kim 2014 年 2 月 19 日
Neel, did you call the function with proper input arguments, such as
>> rec = interpolation([1;2],3,1) % I am just making up numbers here
With this function call n=2.

Dishant Arora
Dishant Arora 2014 年 2 月 19 日
did you run it as script?? you need to call the function and pass on the input varaible. Go through this documentation:

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by