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 .

Answers (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.

Asked:

on 4 Dec 2018

Answered:

on 4 Dec 2018

Community Treasure Hunt

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

Start Hunting!