{"id":406,"date":"2017-09-14T12:12:13","date_gmt":"2017-09-14T15:12:13","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=406"},"modified":"2017-09-14T12:12:13","modified_gmt":"2017-09-14T15:12:13","slug":"plot2d-m","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/plot2d-m\/","title":{"rendered":"plot2d.m"},"content":{"rendered":"<pre>function plot2d(X)\r\n\r\n% plot2d  Two dimensional plot.\r\n\r\n% X is a matrix with 2 rows and any number of columns.\r\n% plot2d(X) plots these columns as points in the plane\r\n% and connects them, in order, with lines.\r\n% The scale is set to [-10, 10] in both directions.\r\n%\r\n% For example, the statement X=house creates \r\n% a sample matrix X representing common figures.\r\n% Then, for various 2 by 2 matrices A,\r\n%    plot2d(A*X)\r\n% demonstrates the effect of multiplication by A.\r\n\r\nx = X(1,:)';\r\ny = X(2,:)';\r\nplot(x, y, 'ro', x, y, 'g-');\r\naxis([-10 10 -10 10])\r\naxis('square')<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>function plot2d(X) % plot2d Two dimensional plot. % X is a matrix with 2 rows and any number of columns. % plot2d(X) plots these columns as points in the plane % and connects them, in order, with lines. % The scale is set to [-10, 10] in both directions. % % For example, the statement [&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-406","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/406","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=406"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/406\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/406\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}