{"id":176,"date":"2011-12-14T11:18:12","date_gmt":"2011-12-14T16:18:12","guid":{"rendered":"https:\/\/blogs.mathworks.com\/seth\/?p=176"},"modified":"2017-01-04T15:31:45","modified_gmt":"2017-01-04T20:31:45","slug":"welcome-to-the-linear-analysis-tool","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2011\/12\/14\/welcome-to-the-linear-analysis-tool\/","title":{"rendered":"Welcome to the Linear Analysis Tool!"},"content":{"rendered":"<p>Today I am happy to welcome back guest blogger <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/87056\">Erman Korkut<\/a> to talk about the new Linear Analysis Tool.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/erman_photo.jpg\" alt=\"Guest blogger, Erman Korkut\">\r\n\r\n<p><strong>Linear Analysis Tool<\/strong><\/p>\r\n\r\n<p>Have you ever trimmed your model? Have you ever linearized it? Have you ever estimated its frequency response? <a href=\"https:\/\/www.mathworks.com\/products\/simcontrol\/\">Simulink Control Design<\/a> has been offering all these capabilities for some time. In R2011b, we introduced the Linear Analysis Tool streamlining all these capabilities into a single interface.<\/p>\r\n\r\n\r\n<p><strong>Trimming a model<\/strong><\/p>\r\n\r\n<p>Before linearizing a model or estimating its frequency response, it is important to specify an operating point. It can be by taking a snapshot at a specific instant, or by finding a steady state (equilibrium) operating point, commonly referred to as <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011b\/toolbox\/slcontrol\/ug\/bsns8b2-1.html\">trimming<\/a>.\r\n\r\n<p>To get started, go to <strong>Tools -> Control Design -> Linear Analysis<\/strong>,  select the <strong>Linear Analysis<\/strong> tab and click the <strong>Trim Model<\/strong> or the <strong>Operating Point Snapshot<\/strong> button:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/LinearAnalysis.png\" alt=\"Linear Analysis tab\"><\/p>\r\n\r\n\r\n<p><strong>Linearizing a model<\/strong><\/p>\r\n\r\n<p>The linearization of your model provides you with a lot of insight about its dynamics. You can inspect the frequency response, evaluate stability margins, and design controllers using the linearization result.  You can linearize a model around different operating points to analyze and compare its behavior at different operating conditions.<\/p>\r\n\r\n<p>Once you are ready to start, select the <strong>Exact Linearization<\/strong> tab:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/linearization.png\" alt=\"Exact Linearization tab\">\r\n\r\n\r\n<p><strong>Estimating the frequency response of a model<\/strong><\/p>\r\n\r\n<p>Another way to compute the <a href=\"https:\/\/blogs.mathworks.com\/seth\/2010\/02\/26\/how-to-estimate-the-frequency-response-of-a-simulink-model\/\">frequency response<\/a> of your nonlinear model is to simulate it with appropriate input signals, measure the output signals of interest, and inspect the frequency content of those output signals. The frequency response data obtained this way can be used to identify a parametric model or to design a <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2011b\/toolbox\/control\/rn\/br5mf0z-1.html?#br6p87d\">controller<\/a>. It also serves as an independent test for the exact linearization; thus, it can be used to validate exact linearization results.<\/p>\r\n\r\n<p>Select the <strong>Frequency Response Estimation<\/strong> tab and define your input signal:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/frequencyestimation.png\" alt=\"Frequency Response Estimation Tab\">\r\n\r\n\r\n<p><strong>Analyze your Results<\/strong><\/p>\r\n\r\n<p>Once you completed a linearization or a frequency response estimation, the Linear Analysis Tool allows to visualize your systems in multiple ways and to easily transfer data to the MATLAB workspace:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/LAT.gif\" alt=\"Frequency Response Estimation Tab\">\r\n\r\n<p><strong>Videos<\/strong><\/p>\r\n\r\n<p>You want to see more? I highly recommend watching the following short videos to see the linear analysis tool in action: <\/p>\r\n\r\n<p><table>\r\n<tr>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/trim-linearization-and-control-design-for-an-aircraft-68880.html\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/Trim.png\" alt=\"Trim\"><\/a><\/td>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/batch-mode-trimming-and-linearization-68879.html\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/linearize.png\" alt=\"Batch Mode Trimming and Linearization\"><\/a><\/td>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/frequency-response-estimation-68884.html\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2011Q4\/linearize.png\" alt=\"Frequency Response Estimation\"><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/trim-linearization-and-control-design-for-an-aircraft-68880.html\">Trim, Linearization and Control Design for an Aircraft<\/a><\/td>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/batch-mode-trimming-and-linearization-68879.html\">Batch Mode Trimming and Linearization<\/a><\/td>\r\n  <td style=\"text-align:center;width:200px\"><a href=\"https:\/\/www.mathworks.com\/videos\/frequency-response-estimation-68884.html\">Frequency Response Estimation<\/a><\/td>\r\n<\/tr>\r\n<\/table>\r\n<\/p>\r\n\r\n\r\n<p><br><strong>Now it is your turn<\/strong><\/p>\r\n\r\n<p>Do you trim, linearize and estimate the frequency response of your Simulink models? What tools are you using to do so? Try using the Linear Analysis Tool with your model and share how it goes by leaving a <a href=\"https:\/\/blogs.mathworks.com\/seth\/?p=176&amp;#comment\">comment here<\/a>.<\/p>\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>Today I am happy to welcome back guest blogger Erman Korkut to talk about the new Linear Analysis Tool.\r\n\r\n\r\n\r\nLinear Analysis Tool\r\n\r\nHave you ever trimmed your model? Have you ever linearized it?... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2011\/12\/14\/welcome-to-the-linear-analysis-tool\/\">read more >><\/a><\/p>","protected":false},"author":41,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[115,65,16],"tags":[247,248,249],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/176"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=176"}],"version-history":[{"count":54,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":6243,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/176\/revisions\/6243"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}