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

3 vues (au cours des 30 derniers jours)
Neel
Neel le 19 Fév 2014
Commenté : Neel le 19 Fév 2014
function rec = interpolation(s,delta_est,phi_est,factor)
tic;
n=length(s);
i am getting error in the 3rd line..plz help

Réponses (2)

Mischa Kim
Mischa Kim le 19 Fév 2014
Modifié(e) : Mischa Kim le 19 Fév 2014
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 le 19 Fév 2014
did you run it as script?? you need to call the function and pass on the input varaible. Go through this documentation:

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by