sir, i m using mean fn for an image, which is reshape into 64x3 double. but it shows an error i.e. "Too many input argument". why ?

w_k = reshape(w_k,[],3);
mu = mean(w_k);

2 Comments

Can you check the type of w_k for us? What is the output of
whos w_k
Also, tell us the output of
>> which reshape(w_k,[],3)
>> which mean(w_k)

Answers (0)

This question is closed.

Asked:

on 21 Jan 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!