Rank: 270 based on 360 downloads (last 30 days) and 16 files submitted
photo

Stephen Cobeldick

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Stephen Cobeldick View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Dec 2014 Screenshot Customizable Natural-Order Sort Natural-order sort of a cell array of strings, with customizable numeric format. Author: Stephen Cobeldick pick of the week, potw, natural order, sort, cell of strings, regexp 35 0
20 Dec 2014 Screenshot Natural-Order Filename Sort Natural-order sort of filenames or filepaths, with customizable numeric format. Author: Stephen Cobeldick pick of the week, potw, sort, natural order, string, cell array 37 1
  • 5.0
5.0 | 2 ratings
20 Dec 2014 Screenshot Natural-Order Row Sort Natural-order row sort of a cell array of strings, with customizable numeric format. Author: Stephen Cobeldick pick of the week, potw, sort, sortrows, cell array, string 18 0
20 Dec 2014 Screenshot Numeric to English Words Convert a numeric scalar to a string giving the English name of the number value (GB/US). Author: Stephen Cobeldick dialect, words, number names, cheque, check, string 23 2
  • 5.0
5.0 | 1 rating
03 Nov 2014 Screenshot Date Vector/Number to ISO 8601 Date String Convert a Date Vector/Number to an ISO 8601 Date String. Tokens control the date/time notation. Author: Stephen Cobeldick date, timestamp, iso 8601, week number, ordinal date, week date 10 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Stephen Cobeldick View all
Updated File Comments Rating
20 Dec 2014 Numeric to English Words Convert a numeric scalar to a string giving the English name of the number value (GB/US). Author: Stephen Cobeldick

John D'Errico: Thank you for your feedback.

A money 'type' would be interesting, but limiting it to dollars/cents would definitely start a culture-war on FEX, and the subunit handling is challenging: some currencies use a ratio other than 1/100 to define the subunit, a few currencies don't even have subunits, and the Yen has two subunits. So it would require an option for the user to supply their currency name/s, some complicated subunit handling, and a way to decide whether to use 'only' or not (value:no, cheque:yes). As the 'money' option is basically just repeated applications of the function, I figured an example would suffice.

18 Oct 2014 RGB triple of color name, version 2 Returns a Matlab RGB color specifier corresponding to a given color name (139 colors supported). Author: Kristjan Jonasson

As some commenters have noted, this submission does not match RGB -> colornames. I wrote a color identifier function to convert between RGB and colornames (both ways):

http://www.mathworks.com/matlabcentral/fileexchange/48155

The user can also choose the to match RGB values using least-squares, or one of the color-difference methods CMC2:1, CIE76, or CIE94 (the default). A bonus function is also included that demonstrates that differences between these matching methods. For more info see also: https://en.wikipedia.org/wiki/Color_difference

18 Oct 2014 Color name identification: fuzzycolor Efficient identification of color names for any RGB Author: John D'Errico

I wrote a color identifier function to convert between RGB and colornames:

http://www.mathworks.com/matlabcentral/fileexchange/48155

The user can choose the to match RGB values using least-squares, or one of the color-difference methods CMC2:1, CIE76, or CIE94 (the default). A bonus function is also included that demonstrates that differences between these matching methods. For more info on these methods, see also: https://en.wikipedia.org/wiki/Color_difference

05 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick

M S : Thank you for your feedback. I am glad that you found my submission easy to use, as the convoluted usage of other ColorBrewer submissions on MATLAB File Exchange was one of the main motivators to write this. I intended that usage of this function should be as much like the standard colormap functions as was reasonable and feasible.

Your suggestions and observations about the unsuitability of the ColorBrewer schemes for colorblind users are very true. As you point out, the white middle color is unclear in many situations, and not just for readers with vision deficiencies.

However I did not create the ColorBrewer schemes (credit goes to Cynthia Brewer for this), nor do I make any claims about their suitability for a particular purpose, other than to say that they are "attractive, distinguishable colors". Any claims about the suitability for any particular purpose are solely those of Cynthia Brewer, for whom I am not responsible. The sole purpose of this submission is to provide the best access to the ColorBrewer colorschemes for MATLAB File Exchange users.

You might like to consider using the colormapeditor:
http://www.mathworks.com/help/matlab/ref/colormapeditor.html

Writing a colorblind-friendly maximally distant colormap generator would be quite interesting, but this is a clearly a very different task to this simple porting of Cynthia Brewer's existing colorscheme data. For a start, each of protanopia, deuteranopia, tritanopia, protanomaly, deuteranomaly, and tritanomaly would require a completely different set of permitted colors. If you are interested, contact me and we could develop this together.

03 Oct 2014 DayYear.m Day Year Author: Sarah

"Just a check, does not work"

Then why is this file here on MATLAB File Exchange?

Comments and Ratings on Stephen Cobeldick's Files View all
Updated File Comment by Comments Rating
20 Dec 2014 Numeric to English Words Convert a numeric scalar to a string giving the English name of the number value (GB/US). Author: Stephen Cobeldick Stephen Cobeldick

John D'Errico: Thank you for your feedback.

A money 'type' would be interesting, but limiting it to dollars/cents would definitely start a culture-war on FEX, and the subunit handling is challenging: some currencies use a ratio other than 1/100 to define the subunit, a few currencies don't even have subunits, and the Yen has two subunits. So it would require an option for the user to supply their currency name/s, some complicated subunit handling, and a way to decide whether to use 'only' or not (value:no, cheque:yes). As the 'money' option is basically just repeated applications of the function, I figured an example would suffice.

19 Dec 2014 Numeric to English Words Convert a numeric scalar to a string giving the English name of the number value (GB/US). Author: Stephen Cobeldick John D'Errico

Lots of options to control the style of your output. Good help. Well done.

I was surprised not to see a direct money option though. So a 'type' of 'dollars' might have been useful and interesting. I'd have had to figure out how to give it an extra star then.

19 Dec 2014 Natural-Order Filename Sort Natural-order sort of filenames or filepaths, with customizable numeric format. Author: Stephen Cobeldick sada shiva

05 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick Stephen Cobeldick

M S : Thank you for your feedback. I am glad that you found my submission easy to use, as the convoluted usage of other ColorBrewer submissions on MATLAB File Exchange was one of the main motivators to write this. I intended that usage of this function should be as much like the standard colormap functions as was reasonable and feasible.

Your suggestions and observations about the unsuitability of the ColorBrewer schemes for colorblind users are very true. As you point out, the white middle color is unclear in many situations, and not just for readers with vision deficiencies.

However I did not create the ColorBrewer schemes (credit goes to Cynthia Brewer for this), nor do I make any claims about their suitability for a particular purpose, other than to say that they are "attractive, distinguishable colors". Any claims about the suitability for any particular purpose are solely those of Cynthia Brewer, for whom I am not responsible. The sole purpose of this submission is to provide the best access to the ColorBrewer colorschemes for MATLAB File Exchange users.

You might like to consider using the colormapeditor:
http://www.mathworks.com/help/matlab/ref/colormapeditor.html

Writing a colorblind-friendly maximally distant colormap generator would be quite interesting, but this is a clearly a very different task to this simple porting of Cynthia Brewer's existing colorscheme data. For a start, each of protanopia, deuteranopia, tritanopia, protanomaly, deuteranomaly, and tritanomaly would require a completely different set of permitted colors. If you are interested, contact me and we could develop this together.

02 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick M S

Pros: supports colorblind palette, which is desperately needed for matlab visualization. Easy to use.

Cons: poor for any plotting purpose; it is not designed for any visualization where there's a background color. For example, for a 'divergent', 'colorblind friendly' scheme, the middle color is always white or off white, which is obviously terrible for plots with a white background.

I wish there were a way to combine another FEX submission, distinguishable_colors--which not only arranges maximally distant colors, but takes into account background color--with colorblind friendly implementation.

Contact us