{"id":373,"date":"2011-06-09T03:39:42","date_gmt":"2011-06-09T07:39:42","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/2011\/06\/09\/matlab-r2011a\/"},"modified":"2019-10-29T16:37:31","modified_gmt":"2019-10-29T20:37:31","slug":"matlab-r2011a","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2011\/06\/09\/matlab-r2011a\/","title":{"rendered":"MATLAB R2011a"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <p>R2011a shipped back in April, but I haven't said too much about it, yet. I mentioned the new <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/toolbox\/map\/ref\/geotiffwrite.html\"><tt>geotiffwrite<\/tt><\/a> function in Mapping Toolbox (<a href=\"https:\/\/blogs.mathworks.com\/steve\/2011\/04\/18\/exporting-geotiff-files-using-mapping-toolbox-in-r2011a\/\">18-Apr-2011 post<\/a>), and I discussed the improved performance of certain kinds of automatic array growth in MATLAB (<a href=\"https:\/\/blogs.mathworks.com\/steve\/2011\/05\/16\/automatic-array-growth-gets-a-lot-faster-in-r2011a\/\">16-May-2011<\/a> and <a href=\"https:\/\/blogs.mathworks.com\/steve\/2011\/05\/20\/more-about-automatic-array-growth-improvements-in-matlab-r2011a\/\">20-May-2011<\/a> posts).\r\n   <\/p>\r\n   <p>For new MATLAB releases, I usually like to highlight new features that are the most interesting to me personally, and that's\r\n      what I want to do today. For additional information and perspectives on the release, I encourage you to check out the <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/rn\/rn_intro.html\">MATLAB\r\n      R2011a release notes<\/a>, <a href=\"https:\/\/blogs.mathworks.com\/loren\/\">Loren on the Art of MATLAB<\/a>, and <a href=\"https:\/\/blogs.mathworks.com\/community\/\">Mike on the MATLAB Desktop<\/a>.\r\n   <\/p>\r\n   <p>When I scan the MATLAB R2011a release notes, the items of most interest to me come from the MATLAB Math, Audio\/Video, and\r\n      Image &amp; Scientific Formats teams. (I don't mean to overlook the work of other teams! These just happen to be some of the areas\r\n      I know best.)\r\n   <\/p>\r\n   <p>The MATLAB Math team has overhauled the interface for controlling the MATLAB random number generator. This was in response\r\n      to persistent feedback that the previous interface was hard to understand and difficult to use. (I got to be an observer on\r\n      some of the usability test sessions.) See the documentation for the new function <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/rng.html\"><tt>rng<\/tt><\/a> for details. I'll tell <a href=\"https:\/\/blogs.mathworks.com\/loren\">Loren<\/a> to get <a href=\"https:\/\/blogs.mathworks.com\/loren\/2008\/11\/05\/new-ways-with-random-numbers-part-i\/\">Peter<\/a> to make a new guest blog appearance about <tt>rng<\/tt>.\r\n   <\/p>\r\n   <p>The Math team always likes to make a bunch of stuff go faster, and this release was no different. Newly optimized functions\r\n      include matrix transpose, many elementwise functions operating on single-precision inputs, several linear algebra functions,\r\n      long-vector and large-matrix convolution with <tt>conv<\/tt> and <tt>conv2<\/tt>, and indexed assignment into sparse arrays.\r\n   <\/p>\r\n   <p>The Audio\/Video team added Motion JPEG support to <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/videowriterclass.html\"><tt>VideoWriter<\/tt><\/a>.\r\n   <\/p>\r\n   <p>The Image &amp; Scientific Formats team added a suite of new functions that make it easier to work with <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/netcdf.html\">NetCDF<\/a> and <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/hdf5.html\">HDF5<\/a> files. You can also now read in a subset of the pixels in <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/fitsread.html\">FITS file<\/a>.\r\n   <\/p>\r\n   <p>I will probably discuss the new NetCDF and HDF5 functions in more detail in a future post.<\/p>\r\n   <p>Finally, I thought I would remind you that MathWorks now provides documentation for earlier releases on its web site. (You\r\n      have to be a licensed user to access documentation for the earlier releases.) Start at mathworks.com, click on \"Support,\"\r\n      then \"Product Documentation,\" and then \"View documentation for other releases.\"\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_7d210243ddee43c7bcab34aa852b6ca3() {\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='7d210243ddee43c7bcab34aa852b6ca3 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 7d210243ddee43c7bcab34aa852b6ca3';\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        author = 'Steve Eddins';\r\n        copyright = 'Copyright 2011 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 author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\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      \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_7d210243ddee43c7bcab34aa852b6ca3()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.12<br><\/p>\r\n<\/div>\r\n<!--\r\n7d210243ddee43c7bcab34aa852b6ca3 ##### SOURCE BEGIN #####\r\n%%\r\n% R2011a shipped back in April, but I haven't said too much about it, yet.\r\n% I mentioned the new\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/toolbox\/map\/ref\/geotiffwrite.html\r\n% |geotiffwrite|> function in Mapping Toolbox (<https:\/\/blogs.mathworks.com\/steve\/2011\/04\/18\/exporting-geotiff-files-using-mapping-toolbox-in-r2011a\/ \r\n% 18-Apr-2011 post>), and I discussed the\r\n% improved performance of certain kinds of automatic array growth in MATLAB\r\n% (<https:\/\/blogs.mathworks.com\/steve\/2011\/05\/16\/automatic-array-growth-gets-a-lot-faster-in-r2011a\/ \r\n% 16-May-2011> and <https:\/\/blogs.mathworks.com\/steve\/2011\/05\/20\/more-about-automatic-array-growth-improvements-in-matlab-r2011a\/ \r\n% 20-May-2011> posts).\r\n%\r\n% For new MATLAB releases, I usually like to highlight new features that\r\n% are the most interesting to me personally, and that's what I want to do\r\n% today. For additional information and perspectives on the release, I\r\n% encourage you to check out the MATLAB R2011a release notes, Loren on the\r\n% Art of MATLAB, and Mike on the MATLAB Desktop.\r\n%\r\n% When I scan the MATLAB R2011a release notes, the items of most interest\r\n% to me come from the MATLAB Math, Audio\/Video, and Image & Scientific\r\n% Formats teams. (I don't mean to overlook the work of other teams! These\r\n% just happen to be some of the areas I know best.)\r\n%\r\n% The MATLAB Math team has overhauled the interface for controlling the\r\n% MATLAB random number generator. This was in response to persistent\r\n% feedback that the previous interface was hard to understand and difficult\r\n% to use. (I got to be an observer on some of the usability test sessions.)\r\n% See the documentation for the new function\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/rng.html |rng|> for details.\r\n% I'll tell <https:\/\/blogs.mathworks.com\/loren Loren> to get <https:\/\/blogs.mathworks.com\/loren\/2008\/11\/05\/new-ways-with-random-numbers-part-i\/ \r\n% Peter> to make a new guest blog appearance about\r\n% |rng|.\r\n%\r\n% The Math team always likes to make a bunch of stuff go faster, and this\r\n% release was no different. Newly optimized functions include matrix\r\n% transpose, many elementwise functions operating on single-precision\r\n% inputs, several linear algebra functions, long-vector and large-matrix\r\n% convolution with |conv| and |conv2|, and indexed assignment into sparse\r\n% arrays.\r\n%\r\n% The Audio\/Video team added Motion JPEG support to\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/videowriterclass.html\r\n% |VideoWriter|>.\r\n%\r\n% The Image & Scientific Formats team added a suite of new functions\r\n% that make it easier to work with <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/netcdf.html \r\n% NetCDF> and <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/hdf5.html HDF5>\r\n% files. You can also now read in a subset of the pixels in <https:\/\/www.mathworks.com\/help\/releases\/R2011a\/techdoc\/\/ref\/fitsread.html \r\n% FITS file>.\r\n%\r\n% I will probably discuss the new NetCDF and HDF5 functions in more detail\r\n% in a future post.\r\n%\r\n% Finally, I thought I would remind you that MathWorks now provides\r\n% documentation for earlier releases on its web site. (You have to be a\r\n% licensed user to access documentation for the earlier releases.) Start at\r\n% mathworks.com, click on \"Support,\" then \"Product Documentation,\" and then\r\n% \"View documentation for other releases.\"\r\n##### SOURCE END ##### 7d210243ddee43c7bcab34aa852b6ca3\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   R2011a shipped back in April, but I haven't said too much about it, yet. I mentioned the new geotiffwrite function in Mapping Toolbox (18-Apr-2011 post), and I discussed the improved performance... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2011\/06\/09\/matlab-r2011a\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[761,807,719],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/373"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":3731,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/373\/revisions\/3731"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}