why error showing to line %*** Check input **** if nargin < 2 error('no bandwidth specified') end while running mean shift algorithm

while running mean shift algorithm error showing to line %*** Check input **** if nargin < 2 error('no bandwidth specified') end .

Réponses (1)

Generally it happens becuase the input argument that you passed into the function is less than 2.
P.S - I have no experience with mean shift algorithm.

Community Treasure Hunt

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

Start Hunting!

Translated by