Skip to content
Snippets Groups Projects
Commit e009d7e5 authored by ac's avatar ac
Browse files

csf_spatial check k

parent 56ba532d
Branches
No related tags found
Loading
Showing
with 2 additions and 2 deletions
......@@ -2,8 +2,8 @@ function csf = csf_spatial(Y,idxTrue)
K = length(unique(idxTrue));
if size(Y,2)~=K
fprintf(2,'csf_spatial Y input dimensionality=%d must match K=%d',size(Y,2),K);
if size(Y,2)<K
fprintf(2,'csf_spatial Y input dimensionality=%d must be >= K=%d',size(Y,2),K);
csf_mean = nan;
csf_std = nan;
return;
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment