-
3 Comments
Alfonso Nieto-Castanon
on 3 Feb 2012
this is strange... this works on my computer (win64 running matlab7.7) but not on the servers, perhaps is some different behavior of histc in the newer version? (and why not use 'hist' or 'accumarray' instead?)
Ned Gulley
on 3 Feb 2012
Just using inspection, I see a space in your function (between "function" and "x9") whereas your code predicts no spaces.
Alfonso Nieto-Castanon
on 3 Feb 2012
thanks for the help! it seems in my version textscan(fid,'%c','CommentStyle','%','Whitespace','') removes the spaces from the resulting string...
Suggested Problems
-
2183 Solvers
-
3384 Solvers
-
Find state names that start with the letter N
1339 Solvers
-
343 Solvers
-
957 Solvers
More from this Author50
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!