{"id":422,"date":"2017-09-14T12:16:20","date_gmt":"2017-09-14T15:16:20","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=422"},"modified":"2017-09-14T12:16:20","modified_gmt":"2017-09-14T15:16:20","slug":"samespan-m","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/samespan-m\/","title":{"rendered":"samespan.m"},"content":{"rendered":"<pre>function samespan(A1, A2)\r\n\r\n% samespan  Test if two matrices have the same column space.\r\n%\r\n% samespan(A1, A2) \r\n% If the column spaces of A1 and A2 are the same,\r\n% the function returns the dimension of this subspace.\r\n% If the subspaces are different, the function returns 0.\r\n%\r\n% See also rank.\r\n\r\nrankA1 = rank(A1)\r\nrankA2 = rank(A2)\r\nrankboth = rank([A1 A2])\r\n\r\nif (rankA1 == rankA2) &amp; (rankA1 == rankboth) \r\n  disp('A1 and A2 have the same column space.');\r\nelse\r\n  disp('A1 and A2 have different column spaces.');\r\nend<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>function samespan(A1, A2) % samespan Test if two matrices have the same column space. % % samespan(A1, A2) % If the column spaces of A1 and A2 are the same, % the function returns the dimension of this subspace. % If the subspaces are different, the function returns 0. % % See also rank. rankA1 [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[],"tags":[],"class_list":["post-422","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/comments?post=422"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/422\/revisions"}],"predecessor-version":[{"id":423,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/422\/revisions\/423"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}