Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Accepted Answer

Steven Lord
Steven Lord on 30 Jan 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 Comments
Pooja Prajapati
Pooja Prajapati on 31 Jan 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

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!