No BSD License
function s1 = capital(s) s = [' ' s]; for i = 1:length(s)-1 if s(i) == ' ' s(i+1)=upper(s(i+1)); end; end; s1 = s(2:end);
Contact us at files@mathworks.com