{"id":3428,"date":"2021-01-19T21:06:21","date_gmt":"2021-01-19T14:06:21","guid":{"rendered":"https:\/\/gulfthai.com\/?page_id=3428"},"modified":"2022-08-17T19:59:38","modified_gmt":"2022-08-17T12:59:38","slug":"matlab-programming","status":"publish","type":"page","link":"https:\/\/gulfthai.com\/?page_id=3428","title":{"rendered":"Matlab &#038; Simulink Basic Programming"},"content":{"rendered":"\n<p><a href=\"https:\/\/eng.kps.ku.ac.th\/v3\/index.php\/forvisitor\/visitor-news\/item\/2899-matlab\/2899-matlab\">\u0e2d\u0e32\u0e08\u0e32\u0e23\u0e22\u0e4c \u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e25\u0e30\u0e19\u0e34\u0e2a\u0e34\u0e15\u0e17\u0e38\u0e01\u0e04\u0e19\u0e02\u0e2d\u0e07\u0e21\u0e2b\u0e32\u0e27\u0e34\u0e17\u0e22\u0e32\u0e25\u0e31\u0e22\u0e40\u0e01\u0e29\u0e15\u0e23\u0e28\u0e32\u0e2a\u0e15\u0e23\u0e4c \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 MATLAB \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48 website \u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07 \u0e42\u0e14\u0e22\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e14\u0e49\u0e27\u0e22 account@ku.th<\/a><br><a href=\"https:\/\/www.mathworks.com\/academia\/tah-portal\/kasetsart-university-31486487.html?fbclid=IwAR1XkorhqkAOEqbTqzeqOJmJ_vRUasHXxSPrv020XeI7aArEFE57pKkNWt4\">Login KU Account<\/a><br>Download License \u0e02\u0e2d\u0e07&nbsp;<a href=\"https:\/\/www.mathworks.com\/licensecenter\/total_headcount\/76101-67271-46953-41405-30928?s_tid=tah_po_start\">KU \u0e04\u0e25\u0e34\u0e4a\u0e01<\/a> <a href=\"https:\/\/matlabacademy.mathworks.com\/\">\u0e40\u0e23\u0e35\u0e22\u0e19\u0e1f\u0e23\u0e35\u0e44\u0e14\u0e49\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32<\/a><\/p>\n\n\n\n<p>\u0e0b\u0e37\u0e49\u0e2d Student License <a href=\"https:\/\/www.mathworks.com\/store\/link\/products\/student\/new?s_tid=coabt_sv_cntsls_bod\">\u0e23\u0e32\u0e04\u0e32 29-55$<\/a>&nbsp;\u0e41\u0e25\u0e30 Toolkit \u0e23\u0e32\u0e04\u0e32\u0e15\u0e31\u0e27\u0e25\u0e30 6$<br>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br><strong>\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49 matlab \u0e1f\u0e23\u0e35<\/strong><br><a href=\"https:\/\/matlabacademy.mathworks.com\/R2020b\/portal.html?course=gettingstarted\">https:\/\/matlabacademy.mathworks.com\/R2020b\/portal.html?course=gettingstarted<\/a><br><strong>\u0e27\u0e34\u0e18\u0e35\u0e25\u0e07\u0e40\u0e23\u0e35\u0e22\u0e19 Matlab <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"matlab \u0e40\u0e23\u0e35\u0e22\u0e19\u0e44\u0e14\u0e49\u0e17\u0e35\u0e48\u0e44\u0e2b\u0e19\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/QrgnlMAABkM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Matlab<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u0e2a\u0e2d\u0e19 Matlab\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/z8VFf6NbXWk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Simulink<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Matlab &amp; Simulink : Simulink\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/PrPp-mS_zGg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 SimScape<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Matlab &amp; Simulink : Simscape\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/7hhmgSnzdJw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Matlab On Ramp<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Course Overview<\/strong><br>Familiarize yourself with the course.<br>Course Overview<\/li><li><strong>Commands<\/strong><br>Enter commands in MATLAB to perform calculations and create variables.<br>Entering Commands<br>Naming Variables<br>Saving and Loading Variables<br>Using Built-in Functions and Constants<\/li><li><strong>MATLAB Desktop and Editor<\/strong><br>Write and save your own MATLAB programs.<br>MATLAB Desktop and Editor<br>The MATLAB Editor<br>Running Scripts<\/li><li><strong>Vectors and Matrices<\/strong><br>Create MATLAB variables that contain multiple elements.<br>Manually Entering Arrays<br>Creating Evenly-Spaced Vectors<br>Array Creation Functions<\/li><li><strong>Indexing into and Modifying Arrays<\/strong><br>Use indexing to extract and modify rows, columns, and elements of MATLAB arrays.<br>Indexing into Arrays<br>Extracting Multiple Elements<br>Changing Values in Arrays<\/li><li><strong>Array Calculations<\/strong><br>Perform calculations on entire arrays at once.<br>Performing Array Operations on Vectors<\/li><li><strong>Calling Functions<\/strong><br>Call functions to obtain multiple outputs.<br>Obtaining Multiple Outputs from Function Calls<\/li><li><strong>Obtaining Help<\/strong><br>Use the MATLAB documentation to discover information about MATLAB features.<br>Obtaining Help<\/li><li><strong>Plotting Data<\/strong><br>Visualize variables using MATLAB&#8217;s plotting functions.<br>Plotting Vectors<br>Annotating Plots<\/li><li><strong>Review Problems<\/strong><br>Bring together concepts that you have learned with a project.<br>Project &#8211; Electricity Usage<br>Project &#8211; Audio Frequency<\/li><li><strong>Importing Data<\/strong><br>Bring data from external files into MATLAB.<br>Import Tool<br>Importing Data as a Table<\/li><li><strong>Logical Arrays<\/strong><br>Use logical expressions to help you to extract elements of interest from MATLAB arrays.<br>Logical Indexing<\/li><li><strong>Programming<\/strong><br>Write programs that execute code based upon some condition.<br>Programming Constructs<br>Decision Branching<br>For Loops<\/li><li><strong>Final Project<\/strong><br>Bring together concepts that you have learned with a project.<br>Project &#8211; Stellar Motion<br>Project &#8211; Stellar Motion II<\/li><li><strong>Conclusion<\/strong><br>Learn next steps and give feedback on the course.<br>Additional Resources<br>Survey<\/li><\/ol>\n\n\n\n<p> <strong>\u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Simulink<\/strong> On Ramp<\/p>\n\n\n\n<p><strong>Course Description<br>Modules<\/strong><br>Course Overview5 min100%<br>Simulink Graphical Environment15 min100%<br>Inspecting Signals10 min100%<br>Visualize signal values during simulation.<br><strong>Lessons:<\/strong><br>Inspecting Signals<br>Simulink Scopes Overview<br>Basic Algorithms15 min100%<br>Use math and logic operators to write algorithms.<br><strong>Lessons:<\/strong><br>Mathematical Operators<br>Basic Logic<br>Conditional Statements<br>Obtaining Help5 min100%<br>Access documentation from Simulink.<br><strong>Lessons:<\/strong><br>Obtaining Help<br>Project &#8211; Automotive Performance Modes5 min100%<br>Practice working with math and logic operators.<br><strong>Lessons:<\/strong><br>Project &#8211; Automotive Performance Modes<br>Simulink and MATLAB10 min100%<br>Use MATLAB variables and functions in Simulink.<br><strong>Lessons:<\/strong><br>MATLAB Workspace Variables<br>MATLAB Function Block<br>Dynamic systems in Simulink5 min100%<br>Review dynamic systems and learn how they relate to Simulink.<br><strong>Lessons:<\/strong><br>Dynamic Systems<br>Discrete systems15 min100%<br>Model discrete-time systems.<br><strong>Lessons:<\/strong><br>Discrete Systems<br>Continuous systems10 min100%<br>Model continuous-time systems.<br><strong>Lessons:<\/strong><br>Continuous Systems<br>Simulation Time5 min100%<br>Choose the simulation duration.<br><strong>Lessons:<\/strong><br>Simulation Time<br>Project &#8211; Modeling a Thermostat10 min100%<br>Practice your understanding of discrete dynamic systems.<br><strong>Lessons:<\/strong><br>Project &#8211; Thermostat<br>Project &#8211; Peregrine Falcon Dive10 min100%<br>Practice your understanding of continuous dynamic systems.<br><strong>Lessons:<\/strong><br>Project &#8211; Peregrine Falcon Dive<br>Conclusion5 min100%<br>Learn about next steps and give feedback on the course.<br><strong>Lessons:<\/strong><br>Additional Resources<br>Survey<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Simscape On Ramp<\/h2>\n\n\n\n<p><strong>Course Description<br>Modules<\/strong><br>Course Overview5 min100%<br>Familiarize yourself with the course.<br><strong>Lessons:<\/strong><br>Course Overview<br>Explore a Simscape Model<br>Building Simscape Models15 min100%<br>Create your first Simscape models.<br><strong>Lessons:<\/strong><br><strong>Simscape Basics<\/strong><br>RC Circuit<br>Rotational Mass Damper<br>Exploring Results10 min100%<br>Learn how to explore the results of simulations.<br><strong>Lessons:<\/strong><br>Measuring Physical Quantities<br>Sensor Blocks<br>Understanding Physical Signals5 min100%<br>Learn about how information is carried through a Simscape model.<br><strong>Lessons:<\/strong><br>Physical Signals<br>Sources with Inputs<br>Initial Values in Simscape10 min100%<br>Set initial values in your Simscape models.<br><strong>Lessons:<\/strong><br>Initial Values as Targets<br>Setting Initial Values<br>Multidomain Modeling20 min100%<br>Model in the interactions between multiple physical domains.<br><strong>Lessons:<\/strong><br>Multidomain Modeling in Simscape<br>Electromechanical Conversion<br>The Fluid Domain<br>Hydroelectric Power Model<br>Simscape and Simulink5 min100%<br>Implement feedback control with Simscape and Simulink.<br><strong>Lessons:<\/strong><br>Feedback Control<br>Project &#8211; Electronic Valve5 min100%<br>Review what you have learned by modeling an electronic valve.<br><strong>Lessons:<\/strong><br>Project &#8211; Electronic Valve<br>Conclusion5 min100%<br>Learn about next steps and give feedback on the course.<br><strong>Lessons:<\/strong><br>Next Steps<br>Additional Resources<br>Survey<\/p>\n\n\n\n<p><strong>Old version<\/strong> Simulink part 1<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Simulink on ramp1\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/L_W8Ayk6hTY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u0e2d\u0e32\u0e08\u0e32\u0e23\u0e22\u0e4c \u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u0e41\u0e25\u0e30\u0e19\u0e34\u0e2a\u0e34\u0e15\u0e17\u0e38\u0e01\u0e04\u0e19\u0e02\u0e2d\u0e07\u0e21\u0e2b\u0e32\u0e27\u0e34\u0e17\u0e22\u0e32\u0e25\u0e31\u0e22\u0e40\u0e01\u0e29\u0e15\u0e23\u0e28\u0e32\u0e2a\u0e15\u0e23\u0e4c \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 MATLAB \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48 website \u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07 \u0e42\u0e14\u0e22\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e14\u0e49\u0e27\u0e22 account@ku.thLogin KU AccountDownload License \u0e02\u0e2d\u0e07&nbsp;KU \u0e04\u0e25\u0e34\u0e4a\u0e01 \u0e40\u0e23\u0e35\u0e22\u0e19\u0e1f\u0e23\u0e35\u0e44\u0e14\u0e49\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32 \u0e0b\u0e37\u0e49\u0e2d Student License \u0e23\u0e32\u0e04\u0e32 29-55$&nbsp;\u0e41\u0e25\u0e30 Toolkit \u0e23\u0e32\u0e04\u0e32\u0e15\u0e31\u0e27\u0e25\u0e30 6$\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49 matlab \u0e1f\u0e23\u0e35https:\/\/matlabacademy.mathworks.com\/R2020b\/portal.html?course=gettingstarted\u0e27\u0e34\u0e18\u0e35\u0e25\u0e07\u0e40\u0e23\u0e35\u0e22\u0e19 Matlab \u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Matlab &#8230; \u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Simulink &#8230; \u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 SimScape &#8230; Matlab On Ramp Course OverviewFamiliarize yourself with the course.Course Overview CommandsEnter commands in MATLAB to perform calculations and create variables.Entering<br \/><a class=\"read-more\" href=\"https:\/\/gulfthai.com\/?page_id=3428\">Complete Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1377,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3428","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/pages\/3428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gulfthai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3428"}],"version-history":[{"count":14,"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/pages\/3428\/revisions"}],"predecessor-version":[{"id":7805,"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/pages\/3428\/revisions\/7805"}],"up":[{"embeddable":true,"href":"https:\/\/gulfthai.com\/index.php?rest_route=\/wp\/v2\/pages\/1377"}],"wp:attachment":[{"href":"https:\/\/gulfthai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}