{"id":873,"date":"2012-09-26T08:23:22","date_gmt":"2012-09-26T13:23:22","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/?p=873"},"modified":"2012-10-01T15:19:49","modified_gmt":"2012-10-01T20:19:49","slug":"ulam-sprial-and-interactive-tweaking-in-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2012\/09\/26\/ulam-sprial-and-interactive-tweaking-in-matlab\/","title":{"rendered":"Ulam Spirial and interactive tweaking in MATLAB"},"content":{"rendered":"I think a lot about how to best teach MATLAB.  It took me 18 years to learn what I know about MATLAB, I keep hoping I can teach all of it in a three day class.  So far, it has never worked!  The folks at <a href=\"http:\/\/www.khanacademy.org\/\">Khan Academy<\/a> think about this too.  I was watching <a href=\"http:\/\/www.khanacademy.org\/cs\/pascals-triangle\/803149756\">one of their videos<\/a>.  It dealt with a fun little game:  <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ulam_spiral\">Ulam Spiral<\/a>  I wanted to explore this, tweak some variables and see how I can tune parameters interactively in MATLAB.\r\n<p>\r\n<p>\r\nAfter filming this, Scott taught me that if you select a number and hold down the Control Key, you can use the scroll wheel on your mouse to change the number also!\r\n<p>\r\n<p>\r\n<div><div class=\"row\"><div class=\"col-xs-12 containing-block\"><div class=\"bc-outer-container add_margin_20\"><videoplayer><div class=\"video-js-container\"><video data-video-id=\"3877436984001\" data-video-category=\"blog\" data-autostart=\"false\" data-account=\"62009828001\" data-omniture-account=\"mathwgbl\" data-player=\"rJ9XCz2Sx\" data-embed=\"default\" id=\"mathworks-brightcove-player\" class=\"video-js\" controls><\/video><script src=\"\/\/players.brightcove.net\/62009828001\/rJ9XCz2Sx_default\/index.min.js\"><\/script><script>if (typeof(playerLoaded) === 'undefined') {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== 'undefined') {videojs(\"mathworks-brightcove-player\").on('loadedmetadata', function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();<\/script><\/div><\/videoplayer><\/div><\/div><\/div>\r\n <\/div>\r\n","protected":false},"excerpt":{"rendered":"<div class=\"thumbnail thumbnail_asset asset_overlay video\"><a href=\"https:\/\/blogs.mathworks.com\/videos\/2012\/09\/26\/ulam-sprial-and-interactive-tweaking-in-matlab\/?dir=autoplay\"><img decoding=\"async\" src=\"https:\/\/cf-images.us-east-1.prod.boltdns.net\/v1\/static\/62009828001\/273704b3-721d-4e4d-87c4-8ace161ad156\/0bca5b76-e2e5-4f96-b772-b2d64cab8bc7\/1280x720\/match\/image.jpg\" onError=\"this.style.display ='none';\"\/>\n      <div class=\"overlay_container\">\n      <span class=\"icon-video icon_color_null\"><time class=\"video_length\">2:53<\/time><\/span>\n      <\/div>\n      <\/a><\/div><p>I think a lot about how to best teach MATLAB.  It took me 18 years to learn what I know about MATLAB, I keep hoping I can teach all of it in a three day class.  So far, it has never worked!  The&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2012\/09\/26\/ulam-sprial-and-interactive-tweaking-in-matlab\/\">read more >><\/a><\/p>","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,17],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/873"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":10,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/873\/revisions\/890"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}