{"id":5407,"date":"2022-03-10T14:26:55","date_gmt":"2022-03-10T19:26:55","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/?p=5407"},"modified":"2022-03-10T14:26:55","modified_gmt":"2022-03-10T19:26:55","slug":"r2022a","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2022\/03\/10\/r2022a\/","title":{"rendered":"R2022a"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>It's March, and you know what that means --- that's right, the \"a\" release is here!<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>On most work days, I use several different MATLAB versions, mostly development builds, on 2-3 different computers. But every <\/span><a href = \"https:\/\/www.mathworks.com\/products\/new_products\/release_model.html\"><span>March and September<\/span><\/a><span>, I look forward to visiting <\/span><a href = \"https:\/\/mathworks.com\/download\"><span>mathworks.com\/download<\/span><\/a><span> to grab and install the latest real thing.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Image Processing Toolbox (<\/span><a href = \"https:\/\/www.mathworks.com\/help\/images\/release-notes.html\"><span>release notes<\/span><\/a><span>) has several new deep learning examples, including <\/span><a href = \"https:\/\/www.mathworks.com\/help\/images\/detect-image-anomalies-using-pretrained-resnet-18-feature-embeddings.html\"><span>this one<\/span><\/a><span> about anomaly detection example using pretrained ResNet-18.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/steve\/files\/r2022a_1.png\" width = \"449\" height = \"239\" alt = \"DetectImageAnomaliesUsingFeatureEmbeddingsExample_01.png\" style = \"vertical-align: baseline; width: 449px; height: 239px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Computer Vision Toolbox (<\/span><a href = \"https:\/\/www.mathworks.com\/help\/vision\/release-notes.html\"><span>release notes<\/span><\/a><span>) added quite a lot in this release. For example, check out the ground truth labeling enhancements, or the YOLO v4 object detector.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/steve\/files\/r2022a_2.png\" width = \"330\" height = \"251\" alt = \"CreatePretrainedYOLOV4ObjectDetectorExample_01.png\" style = \"vertical-align: baseline; width: 330px; height: 251px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>MATLAB releases are always hard to summarize because the scope is so big. The <\/span><a href = \"https:\/\/www.mathworks.com\/help\/matlab\/release-notes.html\"><span>MATLAB release notes<\/span><\/a><span> list approximately 130 different enhancements and groups of enhancements, including 22 speedups. (The <\/span><span style=' font-family: monospace;'>try<\/span><span> block executes faster, 6x for the documented example, when the block does not error.)<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I like to poke around at the seemingly small changes, like the ones where common operations that formerly required several steps have been made easier and more efficient (<\/span><span style=' font-family: monospace;'>allfinite<\/span><span>, <\/span><span style=' font-family: monospace;'>writelines<\/span><span>).<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I am usually especially interested to see what's happening in the MATLAB Math area. As usual, there's a long list, but I'd like to give a shout out to something that MATLAB creator Cleve Moler worked on and <\/span><a href = \"https:\/\/blogs.mathworks.com\/cleve\/2021\/07\/25\/round-with-tie-breakers-a-prototype\/\"><span>blogged about<\/span><\/a><span>: new control over tiebreak behavior in the round function. I provided one of the use cases: the algorithm inside <\/span><span style=' font-family: monospace;'>poly2mask<\/span><span> uses a type of rounding that always breaks ties towards +Inf.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Speaking of other MATLAB Central blogs, Ned Gulley <\/span><a href = \"https:\/\/blogs.mathworks.com\/community\/2022\/03\/09\/publishing-to-wordpress\/\"><span>just posted<\/span><\/a><span> about a new tool, <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/103730-publishing-tool-for-matlab-live-script-to-wordpress\"><span>available on the File Exchange<\/span><\/a><span>, that makes it easy to take a MATLAB live script and publish it to WordPress as a blog post. This is the tool that I regularly use.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><\/div>\r\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script><a href=\"https:\/\/blogs.mathworks.com\/steve\/files\/r2022a.mlx\"><button class=\"btn btn-sm btn_color_blue pull-right add_margin_10\">Download Live Script<\/button><\/a>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/steve\/files\/r2022a_1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>It's March, and you know what that means --- that's right, the \"a\" release is here!On most work days, I use several different MATLAB versions, mostly development builds, on 2-3 different computers.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2022\/03\/10\/r2022a\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":5413,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/5407"}],"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=5407"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/5407\/revisions"}],"predecessor-version":[{"id":5422,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/5407\/revisions\/5422"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media\/5413"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=5407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=5407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=5407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}