{"id":253,"date":"2008-02-19T08:45:55","date_gmt":"2008-02-19T13:45:55","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/2008\/02\/19\/practical-example-intersecting-a-circle-with-a-line-series\/"},"modified":"2017-05-02T18:51:17","modified_gmt":"2017-05-02T23:51:17","slug":"practical-example-intersecting-a-circle-with-a-line-series","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2008\/02\/19\/practical-example-intersecting-a-circle-with-a-line-series\/","title":{"rendered":"Practical example: Intersecting a circle with a line series"},"content":{"rendered":"As with all the videos in this practical example series, the process of developing code is more important than the particular problem that is being solved. In this video, we will be covering topics that are covered in earlier videos:\r\n<ul>\r\n\t<li>Nested subfunctions<\/li>\r\n\t<li><a href=\"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/02\/cool-feature-run-configurations\/\">Run configurations<\/a><\/li>\r\n\t<li><a href=\"https:\/\/blogs.mathworks.com\/pick\/2007\/09\/17\/matlab-basics-video-interleaving-data-based-on-unique-identifier\/\">FIND <\/a><\/li>\r\n\t<li><a href=\"https:\/\/blogs.mathworks.com\/pick\/2006\/11\/06\/more-mini-videos\/\">Custom plots with Handle Graphics <\/a><\/li>\r\n<\/ul>\r\nHowever now we will be covering them in the context of a larger project.\r\n\r\nThe project came in from e-mail. This MATLAB user wanted to intersect a circle with a line series that extended to the right. There were some subtle algorithm decisions that had to be made so that you did not need to make an exhaustive search.\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=\"3877438046001\" 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><\/div>\r\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/lazyweb-open-challenges\/\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/Lazy.jpg\" alt=\"lazy.jpg\" \/>\r\n<\/a>","protected":false},"excerpt":{"rendered":"<div class=\"thumbnail thumbnail_asset asset_overlay video\"><a href=\"https:\/\/blogs.mathworks.com\/videos\/2008\/02\/19\/practical-example-intersecting-a-circle-with-a-line-series\/?dir=autoplay\"><img decoding=\"async\" src=\"https:\/\/cf-images.us-east-1.prod.boltdns.net\/v1\/static\/62009828001\/c1ca82f4-3914-40fc-b990-1f3b10df5d87\/84c0591d-9552-4aa4-bec7-49400c1e02f8\/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\">8:57<\/time><\/span>\n      <\/div>\n      <\/a><\/div><p>As with all the videos in this practical example series, the process of developing code is more important than the particular problem that is being solved. In this video, we will be covering topics&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2008\/02\/19\/practical-example-intersecting-a-circle-with-a-line-series\/\">read more >><\/a><\/p>","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19,4,20],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/253"}],"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=253"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":2998,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/253\/revisions\/2998"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}