can anyone tell me what input arguments in following actually?what input data i have to give to run it

1 visualización (últimos 30 días)
here is my code,
Where i am getting error of not enough input argumnets,
function r = vq(d,k)
e=0.01;
r = mean(d,2);% getting error here
dpr=10000;
as i am new to matlab & this code too,as i am running it from sources,
dont't know how to run it properly,
so help me out,
thanks a lot in adv

Respuesta aceptada

Steven Lord
Steven Lord el 30 de En. de 2017
Make sure you haven't created your own mean.m file that is shadowing the built-in mean function included in MATLAB. You can check this using which.
which -all mean
You should see only files in directories located under matlabroot. If you see a file you wrote in a working directory, rename that file and check if your code starts working.
  4 comentarios
Pooja Prajapati
Pooja Prajapati el 31 de En. de 2017
jan simon it's about checking mean function available is available there or not in my selected directory.
Pooja Prajapati
Pooja Prajapati el 31 de En. de 2017
also all i want is how i get that mean function file?
as it's not there in my data.
so is it avilable there with u people please mail me or tell me here how to create it with what type of code in it.
Tysm in adv

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by