{"id":1376,"date":"2016-04-01T08:31:05","date_gmt":"2016-04-01T13:31:05","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=1376"},"modified":"2016-03-23T14:34:33","modified_gmt":"2016-03-23T19:34:33","slug":"the-queens-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2016\/04\/01\/the-queens-matlab\/","title":{"rendered":"The Queen&#8217;s MATLAB"},"content":{"rendered":"\r\n\r\n<div class=\"content\"><!--introduction--><p>Good news for those of you who speak (and spell) the Queen's English instead of the US dialect.  We are working night and day to make MATLAB use equally satisfying for the entire world's English speaking population!<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#81be84a6-9637-4522-83f1-721441592405\">Expectations for Upcoming Releases<\/a><\/li><li><a href=\"#b6395fc2-a1bf-4bcd-8faa-73ef0d1ff2c4\">Names<\/a><\/li><li><a href=\"#8949325b-30d6-426b-822c-c695667cc556\">Our Current List<\/a><\/li><li><a href=\"#5099dc3f-4f53-4961-bf0d-4b7629177f52\">Help Us Out!<\/a><\/li><\/ul><\/div><h4>Expectations for Upcoming Releases<a name=\"81be84a6-9637-4522-83f1-721441592405\"><\/a><\/h4><p>You can expect, in upcoming releases, to create a <tt>colorbar<\/tt> or a <tt>colourbar<\/tt>.  To ensure happy code collaborations, you won't even have to choose which dialect to install.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2016\/Checkered-Chromatic-US-Map-300px.png\" alt=\"\"> <\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2016\/uk-ireland-vector-cleaned-300px.png\" alt=\"\"> <\/p><p>That way, if your code is working in the UK, for example, it will also work on your US colleague's setup.<\/p><h4>Names<a name=\"b6395fc2-a1bf-4bcd-8faa-73ef0d1ff2c4\"><\/a><\/h4><p>Where we could ascertain different spellings for function names, we will provide both (all?) alternatives.  And we will similarly have object properties, e.g., for Handle Graphics, also be dialect-tolerant. In this case, you can except <tt>EdgeColor<\/tt> and <tt>EdgeColour<\/tt> to both work. Since these are implemented as <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/matlab_oop\/access-methods-for-dependent-properties.html\">dependent properties<\/a>, the information for both spellings will always be in sync.<\/p><h4>Our Current List<a name=\"8949325b-30d6-426b-822c-c695667cc556\"><\/a><\/h4><p>We have been working hard to gather an appropriate name list.  Here's what we've come up with so far.<\/p><div><ul><li>colour properties<\/li><li>colourmap<\/li><li>nearest neighbour<\/li><li>licence<\/li><li>connexion<\/li><li>analogue<\/li><li>catalogues<\/li><li>dialog<\/li><li>The <tt>grey<\/tt> collection, e.g., grey, grey2bin, greydist, ind2grey, rgb2grey, mat2grey<\/li><li>centre (incentre), getCentreFrequency<\/li><\/ul><\/div><h4>Help Us Out!<a name=\"5099dc3f-4f53-4961-bf0d-4b7629177f52\"><\/a><\/h4><p>Can you help add to our list so we can ensure that MATLAB in the future is appropriate for <b>ALL<\/b> mathematically inclined speakers in the English speaking world.  Add your suggestions <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=1376#respond\">here<\/a>!<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_eeb9d0c1a3a94e669a632cd646402c50() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='eeb9d0c1a3a94e669a632cd646402c50 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' eeb9d0c1a3a94e669a632cd646402c50';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2016 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_eeb9d0c1a3a94e669a632cd646402c50()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2016a<br><\/p><\/div><!--\r\neeb9d0c1a3a94e669a632cd646402c50 ##### SOURCE BEGIN #####\r\n%% The Queen's MATLAB\r\n% Good news for those of you who speak (and spell) the Queen's English\r\n% instead of the US dialect.  We are working night and day to make MATLAB\r\n% use equally satisfying for the entire world's English speaking\r\n% population!\r\n%% Expectations for Upcoming Releases\r\n% You can expect, in upcoming releases, to create a |colorbar| or a\r\n% |colourbar|.  To ensure happy code collaborations, you won't even have to\r\n% choose which dialect to install.\r\n%\r\n% <<Checkered-Chromatic-US-Map-300px.png>>\r\n%\r\n% <<uk-ireland-vector-cleaned-300px.png>>\r\n%\r\n% That way, if your code is working in\r\n% the UK, for example, it will also work on your US colleague's setup.\r\n%% Names\r\n% Where we could ascertain different spellings for function names, we will\r\n% provide both (all?) alternatives.  And we will similarly have object\r\n% properties, e.g., for Handle Graphics, also be dialect-tolerant. In this\r\n% case, you can except |EdgeColor| and |EdgeColour| to both work. Since\r\n% these are implemented as\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/matlab_oop\/access-methods-for-dependent-properties.html\r\n% dependent properties>, the information for both spellings will always be\r\n% in sync.\r\n%% Our Current List\r\n% We have been working hard to gather an appropriate name list.  Here's\r\n% what we've come up with so far.\r\n%\r\n% * colour properties\r\n% * colourmap\r\n% * nearest neighbour\r\n% * licence\r\n% * connexion\r\n% * analogue\r\n% * catalogues \r\n% * dialog\r\n% * The |grey| collection, e.g., grey, grey2bin, greydist, ind2grey, rgb2grey, mat2grey\r\n% * centre (incentre), getCentreFrequency\r\n%\r\n%% Help Us Out!\r\n% Can you help add to our list so we can ensure that MATLAB in the future\r\n% is appropriate for *ALL* mathematically inclined speakers in the English\r\n% speaking world.  Add your suggestions\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=1376#respond here>!\r\n\r\n\r\n\r\n##### SOURCE END ##### eeb9d0c1a3a94e669a632cd646402c50\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/2016\/Checkered-Chromatic-US-Map-300px.png\" onError=\"this.style.display ='none';\" \/><\/div><!--introduction--><p>Good news for those of you who speak (and spell) the Queen's English instead of the US dialect.  We are working night and day to make MATLAB use equally satisfying for the entire world's English speaking population!... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2016\/04\/01\/the-queens-matlab\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/1376"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=1376"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/1376\/revisions"}],"predecessor-version":[{"id":1378,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/1376\/revisions\/1378"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=1376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=1376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}