Info
This question is closed. Reopen it to edit or answer.
undefined function 'a' in kmeans segmentation.How can i correct this?
1 view (last 30 days)
Show older comments
while i run the code for kmeans segmentation,i am getting an erron in line 2 of one code and a function error in the other.How to correct this?
4 Comments
Image Analyst
on 23 Mar 2019
How did you call it? What did you pass in for the badly-named a? For example did you call it like this:
[s1, n_RBC]=kmns_seg_R(73); % Pass in 73 for a
or did you use a different value? You didn't just click the green run triangle without defining a did you?
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!