{"id":7046,"date":"2021-05-25T20:06:40","date_gmt":"2021-05-26T00:06:40","guid":{"rendered":"https:\/\/blogs.mathworks.com\/cleve\/?p=7046"},"modified":"2021-06-04T13:04:41","modified_gmt":"2021-06-04T17:04:41","slug":"computing-eigenvalues-of-symmetric-matrices","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/cleve\/2021\/05\/25\/computing-eigenvalues-of-symmetric-matrices\/","title":{"rendered":"Computing Eigenvalues of Symmetric Matrices"},"content":{"rendered":"\r\n\r\n\r\n<div class=\"content\"><h3>Computing Eigenvalues of Symmetric Matrices<\/h3><p>See <a href=\"https:\/\/blogs.mathworks.com\/cleve\/2021\/05\/26\/complexity-of-computing-the-eigenvalues-of-a-symmetric-matrix\/\">revision.<\/a><\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_51fc27910986425889c5662c5c0f9108() {\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='51fc27910986425889c5662c5c0f9108 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 51fc27910986425889c5662c5c0f9108';\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 2021 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_51fc27910986425889c5662c5c0f9108()\"><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; R2021a<br><\/p><\/div><!--\r\n51fc27910986425889c5662c5c0f9108 ##### SOURCE BEGIN #####\r\n%% Computing Eigenvalues of Symmetric Matrices\r\n%\r\n% See <https:\/\/blogs.mathworks.com\/cleve\/2021\/05\/26\/complexity-of-computing-the-eigenvalues-of-a-symmetric-matrix\/\r\n% revision.>\r\n##### SOURCE END ##### 51fc27910986425889c5662c5c0f9108\r\n-->\/","protected":false},"excerpt":{"rendered":"<p>\r\n\r\n\r\nComputing Eigenvalues of Symmetric MatricesSee revision.Get \r\n      the MATLAB code (requires JavaScript)\r\n      Published with MATLAB&reg;... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/cleve\/2021\/05\/25\/computing-eigenvalues-of-symmetric-matrices\/\">read more >><\/a><\/p>","protected":false},"author":78,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,4,6,16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/7046"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/comments?post=7046"}],"version-history":[{"count":11,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/7046\/revisions"}],"predecessor-version":[{"id":7084,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/7046\/revisions\/7084"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/media?parent=7046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/categories?post=7046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/tags?post=7046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}