title

MATLAB Tutorial

description

Get the Cheat Sheet : http://bit.ly/matlabtut
Best MATLAB Book : https://amzn.to/2SnfP3n
https://www.patreon.com/derekbanas
MY UDEMY COURSES ARE 87.5% OFF TIL March 26th ($9.99) ONE IS FREE
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_50
➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_50
➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial9 (100 Available)
I LIVESTREAM CODE HERE : https://www.twitch.tv/derekbanas
MY DISCORD : https://discord.gg/VckHCAvA ( Contact Me Anytime )
01:42 User Input
04:34 Variables / Data Types
07:13 Casting
08:20 Math / Sprintf
11:37 Math Functions
12:19 Conditionals
16:30 Vectors
23:11 Matrices
26:08 Looping
29:48 Matrix Functions
35:00 Cell Arrays
37:34 Strings
41:00 Structures
43:44 Tables
46:41 File I/O
48:49 Functions
56:00 Anonymous Functions
59:58 Recursive Functions
1:01:55 OOP
1:13:08 Plotting
In this tutorial I cover basically everything you'd learn in a 500 page book on MATLAB in a video that is just over 1 hour! So many topics are covered, but this is an abbreviated list : Input, Data Types, Casting, Math Functions, Conditionals, Vectors, Matrices, Looping, Cell Arrays, Strings, Structures, Tables, File I/O, Functions, Recursion, OOP, Plotting and more.
GET FREE STUFF WHILE SUPPORTING MY TUTORIALS
1. Get a Free Stock : share.robinhood.com/derekb1560
2. Get 2 Free Audiobooks : https://amzn.to/2Y5FV2p

detail

{'title': 'MATLAB Tutorial', 'heatmap': [{'end': 281.265, 'start': 231.724, 'weight': 0.725}, {'end': 1123.548, 'start': 1063.907, 'weight': 0.705}, {'end': 1488.978, 'start': 1348.996, 'weight': 0.965}, {'end': 1583.059, 'start': 1534.275, 'weight': 0.711}, {'end': 1962.448, 'start': 1905.311, 'weight': 1}, {'end': 2327.498, 'start': 2278.035, 'weight': 0.716}, {'end': 4650.957, 'start': 4604.451, 'weight': 0.703}], 'summary': 'This matlab tutorial condenses a 500-page book into one video, covering basics, vector and matrix manipulation, data manipulation, file io, functions and variables, object-oriented programming, and plotting, with practical demonstrations and examples.', 'chapters': [{'end': 38.958, 'segs': [{'end': 38.958, 'src': 'embed', 'start': 0.242, 'weight': 0, 'content': [{'end': 3.065, 'text': 'Hello Internet and welcome to my MATLAB video tutorial.', 'start': 0.242, 'duration': 2.823}, {'end': 10.432, 'text': "In this one tutorial I'm going to teach you pretty much everything you would learn from a standard 500 page book all in one video.", 'start': 3.105, 'duration': 7.327}, {'end': 16.518, 'text': 'And we will focus in on MATLAB which is the preeminent environment for scientists and engineers.', 'start': 10.512, 'duration': 6.006}, {'end': 20.222, 'text': "And I'm going to teach you how to pretty much do anything programming wise with MATLAB.", 'start': 16.578, 'duration': 3.644}, {'end': 25.309, 'text': "Now you don't have to watch the entire video all at one time, because in the description underneath the video,", 'start': 20.566, 'duration': 4.743}, {'end': 30.593, 'text': 'I have a table of contents that you can click and learn just about the individual things you want to learn about.', 'start': 25.309, 'duration': 5.284}, {'end': 38.958, 'text': 'As well, I have in the description a file that is a transcript of the entire video, as well as a cheat sheet, which is all completely free.', 'start': 30.753, 'duration': 8.205}], 'summary': 'Matlab tutorial covers contents of a 500-page book, with free transcript and cheat sheet.', 'duration': 38.716, 'max_score': 0.242, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI242.jpg'}], 'start': 0.242, 'title': 'Matlab tutorial', 'summary': 'Covers a comprehensive matlab tutorial condensing information from a 500-page book into one video, offering a transcript and cheat sheet for free.', 'chapters': [{'end': 38.958, 'start': 0.242, 'title': 'Matlab tutorial: learn everything in one video', 'summary': 'Covers a comprehensive matlab tutorial condensing information from a 500-page book into one video, offering a transcript and cheat sheet for free.', 'duration': 38.716, 'highlights': ['The tutorial condenses information from a 500-page book into one video, covering comprehensive MATLAB knowledge.', 'The video provides a transcript and cheat sheet for free, allowing viewers to access the content conveniently.', 'A table of contents is available in the video description, enabling viewers to navigate and focus on specific topics of interest.']}], 'duration': 38.716, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI242.jpg', 'highlights': ['The tutorial condenses information from a 500-page book into one video, covering comprehensive MATLAB knowledge.', 'The video provides a transcript and cheat sheet for free, allowing viewers to access the content conveniently.', 'A table of contents is available in the video description, enabling viewers to navigate and focus on specific topics of interest.']}, {'end': 923.818, 'segs': [{'end': 281.265, 'src': 'heatmap', 'start': 231.724, 'weight': 0.725, 'content': [{'end': 235.266, 'text': 'So and we can do a control C to cancel out of that if you would like.', 'start': 231.724, 'duration': 3.542}, {'end': 235.686, 'text': 'All right.', 'start': 235.466, 'duration': 0.22}, {'end': 237.647, 'text': "So that's some basic information.", 'start': 235.706, 'duration': 1.941}, {'end': 239.469, 'text': 'You can also receive vectors.', 'start': 237.868, 'duration': 1.601}, {'end': 242.911, 'text': "So let's say we go vector inputs.", 'start': 239.729, 'duration': 3.182}, {'end': 247.853, 'text': 'is equal to input and enter a vector.', 'start': 243.331, 'duration': 4.522}, {'end': 251.074, 'text': "And I'm just going to use double quotes here just so you can see what that looks like.", 'start': 248.033, 'duration': 3.041}, {'end': 260.077, 'text': 'I can then go and display information out on the screen by just typing in that and vector input like this to output it back onto the screen.', 'start': 251.234, 'duration': 8.843}, {'end': 261.757, 'text': "And if we run that, what's your name??", 'start': 260.357, 'duration': 1.4}, {'end': 269.821, 'text': "I can say Derek, and then enter a vector, and I can come in here and enter all this information and go like that and it'll print it out on the screen.", 'start': 261.778, 'duration': 8.043}, {'end': 270.961, 'text': 'All right, so neat stuff.', 'start': 269.901, 'duration': 1.06}, {'end': 271.421, 'text': 'All right.', 'start': 271.141, 'duration': 0.28}, {'end': 274.762, 'text': "So that's how we do some basic input and output.", 'start': 271.441, 'duration': 3.321}, {'end': 278.003, 'text': 'Now I want to go step back a little bit and talk about variables.', 'start': 274.882, 'duration': 3.121}, {'end': 281.265, 'text': 'Now variables are going to store data, of course,', 'start': 278.204, 'duration': 3.061}], 'summary': 'Basic tutorial on input, output, and variables in programming.', 'duration': 49.541, 'max_score': 231.724, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI231724.jpg'}, {'end': 285.746, 'src': 'embed', 'start': 261.778, 'weight': 7, 'content': [{'end': 269.821, 'text': "I can say Derek, and then enter a vector, and I can come in here and enter all this information and go like that and it'll print it out on the screen.", 'start': 261.778, 'duration': 8.043}, {'end': 270.961, 'text': 'All right, so neat stuff.', 'start': 269.901, 'duration': 1.06}, {'end': 271.421, 'text': 'All right.', 'start': 271.141, 'duration': 0.28}, {'end': 274.762, 'text': "So that's how we do some basic input and output.", 'start': 271.441, 'duration': 3.321}, {'end': 278.003, 'text': 'Now I want to go step back a little bit and talk about variables.', 'start': 274.882, 'duration': 3.121}, {'end': 281.265, 'text': 'Now variables are going to store data, of course,', 'start': 278.204, 'duration': 3.061}, {'end': 285.746, 'text': "and they're going to start with a letter and then they can have numbers or underscores inside of them.", 'start': 281.265, 'duration': 4.481}], 'summary': 'Introduction to basic input/output and variables in programming.', 'duration': 23.968, 'max_score': 261.778, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI261778.jpg'}, {'end': 727.051, 'src': 'embed', 'start': 699.819, 'weight': 2, 'content': [{'end': 705.901, 'text': 'Now, if you want to see a whole bunch of different math functions, you can just type in help and then e, l, f,', 'start': 699.819, 'duration': 6.082}, {'end': 710.903, 'text': "u n over here in your command window and you're going to see a ton of them.", 'start': 705.901, 'duration': 5.002}, {'end': 713.664, 'text': 'okay, these are all built in the elementary math functions.', 'start': 710.903, 'duration': 2.761}, {'end': 718.006, 'text': "there's so many other different math functions, though, of course, and you can go through and play with those on your own.", 'start': 713.664, 'duration': 4.342}, {'end': 722.649, 'text': "i went in here and through some of the very, very common ones that you're going to use over here,", 'start': 718.006, 'duration': 4.643}, {'end': 727.051, 'text': "and let's go and execute this and you can see exactly how it all runs.", 'start': 722.649, 'duration': 4.402}], 'summary': "Learn about various math functions through 'help' in command window.", 'duration': 27.232, 'max_score': 699.819, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI699819.jpg'}, {'end': 813.592, 'src': 'embed', 'start': 735.634, 'weight': 0, 'content': [{'end': 738.595, 'text': 'I just showed you where to find them and you can go and play with those on your own.', 'start': 735.634, 'duration': 2.961}, {'end': 740.855, 'text': 'But instead, now I want to talk about conditionals.', 'start': 738.735, 'duration': 2.12}, {'end': 747.437, 'text': "Now, with programming, you're going to want to perform different or execute different code based off of different conditions.", 'start': 741.075, 'duration': 6.362}, {'end': 750.678, 'text': "And you're going to have some relational operators.", 'start': 747.617, 'duration': 3.061}, {'end': 754.939, 'text': "And those are going to be, let's spell relational, right?", 'start': 751.078, 'duration': 3.861}, {'end': 758.681, 'text': "there we are, and you're probably going to be familiar with these.", 'start': 755.519, 'duration': 3.162}, {'end': 760.942, 'text': "you're going to have greater than you're going to have, less than you have.", 'start': 758.681, 'duration': 2.261}, {'end': 762.183, 'text': 'greater than or equal to your.', 'start': 760.942, 'duration': 1.241}, {'end': 763.584, 'text': 'less than or equal to.', 'start': 762.183, 'duration': 1.401}, {'end': 770.008, 'text': "you're going to have equal to and this is not equal to tilde equals, all right, and all comments.", 'start': 763.584, 'duration': 6.424}, {'end': 771.869, 'text': "also, you're going to be able to come in here.", 'start': 770.008, 'duration': 1.861}, {'end': 773.69, 'text': "there's a comment just by putting the percent.", 'start': 771.869, 'duration': 1.821}, {'end': 776.592, 'text': "sign us onto there and you're going to have another comment.", 'start': 773.69, 'duration': 2.902}, {'end': 784.358, 'text': 'if you wanted to do a multi-line comment, You just do multi line like that and then end it like this.', 'start': 776.592, 'duration': 7.766}, {'end': 787.441, 'text': 'Okay And then everything else is happy and you can do whatever you want.', 'start': 784.498, 'duration': 2.943}, {'end': 787.842, 'text': 'All right.', 'start': 787.621, 'duration': 0.221}, {'end': 788.682, 'text': "So there's comments.", 'start': 787.862, 'duration': 0.82}, {'end': 789.763, 'text': 'I got that out of the way.', 'start': 788.742, 'duration': 1.021}, {'end': 793.347, 'text': "And also we're going to have logical operators.", 'start': 790.064, 'duration': 3.283}, {'end': 796.324, 'text': "Don't worry, I'm going to demonstrate how all of these work.", 'start': 793.783, 'duration': 2.541}, {'end': 802.967, 'text': "And with your logical operators, you're going to have or, which is on the far right side of your keyboard.", 'start': 796.584, 'duration': 6.383}, {'end': 807.369, 'text': "You're going to have and, and of course you're going to have not, which we already saw previously.", 'start': 803.087, 'duration': 4.282}, {'end': 809.25, 'text': "So now what I'm going to do is do some demonstrations.", 'start': 807.429, 'duration': 1.821}, {'end': 813.592, 'text': "So let's say we have age and this is an if statement.", 'start': 809.27, 'duration': 4.322}], 'summary': 'Introduction to conditionals, relational and logical operators in programming.', 'duration': 77.958, 'max_score': 735.634, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI735634.jpg'}], 'start': 39.359, 'title': 'Matlab basics and file creation', 'summary': 'Covers creating matlab files and coding, including workspace manipulation and organization, and explores basics such as obtaining user inputs, defining variables, data types, math operators, and conditionals, with practical demonstrations.', 'chapters': [{'end': 90.139, 'start': 39.359, 'title': 'Creating matlab files and coding', 'summary': "Explores creating matlab files and coding, including creating class files and streamlining output with 'format compact'. it also covers workspace manipulation and organization.", 'duration': 50.78, 'highlights': ["The chapter explores creating MATLAB files and coding, including creating class files and streamlining output with 'format compact'.", "The first thing to do is to keep the output compact by using 'format compact'.", 'Explanation of creating MATLAB class files and how to organize the workspace and command window.']}, {'end': 923.818, 'start': 90.479, 'title': 'Matlab basics: inputs, variables, math operators, and conditionals', 'summary': 'Covers the basics of matlab, including obtaining user inputs, defining variables, data types, math operators, and conditionals, with a demonstration of how to use them, such as obtaining user inputs, defining variables, data types, math operators, conditionals, and logical operators.', 'duration': 833.339, 'highlights': ['The chapter covers obtaining user inputs, defining variables, data types, math operators, and conditionals.', 'The chapter demonstrates how to obtain user inputs, define variables, and use data types, math operators, and conditionals.', 'The chapter explains the usage of logical operators, such as or, and, and not, and demonstrates their functionality.', 'The chapter provides a demonstration of using if statements in MATLAB to execute different code based on different conditions.', 'The chapter demonstrates the usage of switch statements for handling a limited number of different options.']}], 'duration': 884.459, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI39359.jpg', 'highlights': ['The chapter covers obtaining user inputs, defining variables, data types, math operators, and conditionals.', 'The chapter demonstrates how to obtain user inputs, define variables, and use data types, math operators, and conditionals.', 'The chapter provides a demonstration of using if statements in MATLAB to execute different code based on different conditions.', 'The chapter demonstrates the usage of switch statements for handling a limited number of different options.', "The chapter explores creating MATLAB files and coding, including creating class files and streamlining output with 'format compact'.", 'Explanation of creating MATLAB class files and how to organize the workspace and command window.', "The first thing to do is to keep the output compact by using 'format compact'.", 'The chapter explains the usage of logical operators, such as or, and, and not, and demonstrates their functionality.']}, {'end': 1166.598, 'segs': [{'end': 1008.512, 'src': 'embed', 'start': 971.195, 'weight': 3, 'content': [{'end': 976.098, 'text': "And then by default, if none of the other things match, we're going to say otherwise.", 'start': 971.195, 'duration': 4.903}, {'end': 981.381, 'text': 'And in this situation, we can say stay home, just like we did previously.', 'start': 976.418, 'duration': 4.963}, {'end': 984.963, 'text': 'And then we can type in end to end or switch statement.', 'start': 981.581, 'duration': 3.382}, {'end': 987.525, 'text': 'And if we run it, middle school comes back once again.', 'start': 985.144, 'duration': 2.381}, {'end': 989.826, 'text': "Alright, so there's a rundown of conditionals.", 'start': 987.685, 'duration': 2.141}, {'end': 991.086, 'text': 'Now I want to talk about vectors.', 'start': 989.846, 'duration': 1.24}, {'end': 997.728, 'text': 'Now vectors are either going to be row or column vectors or one dimensional arrays if you prefer to refer to them that way.', 'start': 991.386, 'duration': 6.342}, {'end': 999.349, 'text': "Let's go and create a vector.", 'start': 998.048, 'duration': 1.301}, {'end': 1006.171, 'text': "All you're going to do is go and put your brackets here and then let's say we want to do 5, 3, 2, and 1.", 'start': 999.549, 'duration': 6.622}, {'end': 1008.512, 'text': 'There you went and created yourself a vector.', 'start': 1006.171, 'duration': 2.341}], 'summary': 'Introduction to conditionals and creation of a vector with values 5, 3, 2, and 1', 'duration': 37.317, 'max_score': 971.195, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI971195.jpg'}, {'end': 1123.548, 'src': 'heatmap', 'start': 1063.907, 'weight': 0.705, 'content': [{'end': 1073.712, 'text': "you're then going to be able to concatenate your vectors just by putting brackets inside of here v21 and v22 and you're going to be able to get values.", 'start': 1063.907, 'duration': 9.805}, {'end': 1079.534, 'text': 'however, the indexes start with the value of 1 instead of 0, unlike some other programming languages.', 'start': 1073.712, 'duration': 5.822}, {'end': 1084.016, 'text': "so if you want to get this first index in that vector that's how you do that.", 'start': 1079.534, 'duration': 4.482}, {'end': 1084.536, 'text': "let's run it.", 'start': 1084.016, 'duration': 0.52}, {'end': 1089.158, 'text': "just to see all the different things there you can see I created them there you can see that it's in descending order.", 'start': 1084.536, 'duration': 4.622}, {'end': 1091.019, 'text': "you can see there's four elements inside of it.", 'start': 1089.158, 'duration': 1.861}, {'end': 1093.68, 'text': 'you can see I went and created a range of different values.', 'start': 1091.019, 'duration': 2.661}, {'end': 1098.063, 'text': 'here we went and did our step two, two, two, the whole way to 10..', 'start': 1093.68, 'duration': 4.383}, {'end': 1100.605, 'text': 'And there you can see that I concatenated those values.', 'start': 1098.063, 'duration': 2.542}, {'end': 1104.649, 'text': 'And here we can see that five is the first value inside of our vector.', 'start': 1100.745, 'duration': 3.904}, {'end': 1113.938, 'text': "We're also going to be able to get the last value inside of the vector just by coming in and the vector that we want and then follow that up with ends.", 'start': 1104.689, 'duration': 9.249}, {'end': 1115.9, 'text': "we're going to be able to change values.", 'start': 1114.298, 'duration': 1.602}, {'end': 1123.548, 'text': "so let's just go v24, just by referring to the index that we want to change, and we could say that 12 wants to be in there.", 'start': 1115.9, 'duration': 7.648}], 'summary': 'Vector concatenation, indexing, and manipulation demonstrated. indexes start with 1.', 'duration': 59.641, 'max_score': 1063.907, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1063907.jpg'}, {'end': 1113.938, 'src': 'embed', 'start': 1084.536, 'weight': 0, 'content': [{'end': 1089.158, 'text': "just to see all the different things there you can see I created them there you can see that it's in descending order.", 'start': 1084.536, 'duration': 4.622}, {'end': 1091.019, 'text': "you can see there's four elements inside of it.", 'start': 1089.158, 'duration': 1.861}, {'end': 1093.68, 'text': 'you can see I went and created a range of different values.', 'start': 1091.019, 'duration': 2.661}, {'end': 1098.063, 'text': 'here we went and did our step two, two, two, the whole way to 10..', 'start': 1093.68, 'duration': 4.383}, {'end': 1100.605, 'text': 'And there you can see that I concatenated those values.', 'start': 1098.063, 'duration': 2.542}, {'end': 1104.649, 'text': 'And here we can see that five is the first value inside of our vector.', 'start': 1100.745, 'duration': 3.904}, {'end': 1113.938, 'text': "We're also going to be able to get the last value inside of the vector just by coming in and the vector that we want and then follow that up with ends.", 'start': 1104.689, 'duration': 9.249}], 'summary': 'Created a vector with 4 elements in descending order, ranging from 2 to 10, and concatenated values.', 'duration': 29.402, 'max_score': 1084.536, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1084536.jpg'}, {'end': 1166.598, 'src': 'embed', 'start': 1123.548, 'weight': 2, 'content': [{'end': 1124.328, 'text': 'so there it is.', 'start': 1123.548, 'duration': 0.78}, {'end': 1131.415, 'text': "you're going to be able to add values onto the end, so we'll go something like v2 and 11..", 'start': 1124.328, 'duration': 7.087}, {'end': 1140.221, 'text': "And zeros are going to be added in to the indexes between things that aren't there and the index that you assign here.", 'start': 1131.415, 'duration': 8.806}, {'end': 1142.903, 'text': "So let's say we want that to be 33.", 'start': 1140.461, 'duration': 2.442}, {'end': 1147.386, 'text': "You're also going to be able to get multiple different values from a vector all at one time.", 'start': 1142.903, 'duration': 4.483}, {'end': 1150.028, 'text': "So let's say you wanted to get the first three values.", 'start': 1147.426, 'duration': 2.602}, {'end': 1151.049, 'text': "So that's how you do that.", 'start': 1150.048, 'duration': 1.001}, {'end': 1153.09, 'text': "You're going to use what's called a range there.", 'start': 1151.109, 'duration': 1.981}, {'end': 1158.694, 'text': "You're also going to be able to get the, let's say you wanted to get the second, fourth, and sixth different value out of there.", 'start': 1153.21, 'duration': 5.484}, {'end': 1159.995, 'text': 'can do that as well.', 'start': 1158.814, 'duration': 1.181}, {'end': 1166.598, 'text': "so we'll just go second, fourth and six, and there it is and we're going to be able to.", 'start': 1159.995, 'duration': 6.603}], 'summary': 'Vector allows adding, accessing multiple values at once.', 'duration': 43.05, 'max_score': 1123.548, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1123548.jpg'}], 'start': 924.179, 'title': 'Using switch statement and vectors in programming', 'summary': 'Introduces the usage of switch statement for checking values and executing code blocks, such as assigning school levels based on age, and covers the concept of conditionals and vectors including various operations like sorting, length retrieval, concatenation, value manipulation, and retrieving multiple values.', 'chapters': [{'end': 970.875, 'start': 924.179, 'title': 'Switch statement in programming', 'summary': 'Introduces the concept of using a switch statement in programming to check for different values and execute specific code blocks, such as sending a child to kindergarten at age 5 and identifying middle school for ages 6 through 13.', 'duration': 46.696, 'highlights': ['The switch statement is used to check for different values and execute specific code blocks, such as sending a child to kindergarten at age 5 and identifying middle school for ages 6 through 13.', 'The switch statement allows for checking a range of different values, like 6 through 13, and executing corresponding actions, simplifying the code structure and improving readability.', 'The example demonstrates the use of a range of values inside the switch statement, such as 14, showcasing the flexibility of this programming construct.']}, {'end': 1166.598, 'start': 971.195, 'title': 'Vectors and conditionals in programming', 'summary': 'Covers the concept of conditionals and vectors in programming, including creating and manipulating vectors, sorting, getting the length, concatenation, changing values, adding values, and getting multiple values from a vector.', 'duration': 195.403, 'highlights': ['Vectors and conditionals in programming, including creating and manipulating vectors, sorting, getting the length, concatenation, changing values, adding values, and getting multiple values from a vector.', 'Creating a vector by using brackets and specifying the elements, such as 5, 3, 2, and 1.', "Finding the number of elements inside a vector using the 'length' function.", 'Sorting a vector in ascending or descending order and creating ranges for vectors.', 'Concatenating vectors by using brackets and accessing values with indexes starting from 1.']}], 'duration': 242.419, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI924179.jpg', 'highlights': ['The switch statement allows for checking a range of different values, like 6 through 13, and executing corresponding actions, simplifying the code structure and improving readability.', 'The switch statement is used to check for different values and execute specific code blocks, such as sending a child to kindergarten at age 5 and identifying middle school for ages 6 through 13.', 'The example demonstrates the use of a range of values inside the switch statement, such as 14, showcasing the flexibility of this programming construct.', 'Vectors and conditionals in programming, including creating and manipulating vectors, sorting, getting the length, concatenation, changing values, adding values, and getting multiple values from a vector.', 'Creating a vector by using brackets and specifying the elements, such as 5, 3, 2, and 1.', "Finding the number of elements inside a vector using the 'length' function.", 'Sorting a vector in ascending or descending order and creating ranges for vectors.', 'Concatenating vectors by using brackets and accessing values with indexes starting from 1.']}, {'end': 1778.62, 'segs': [{'end': 1488.978, 'src': 'heatmap', 'start': 1348.996, 'weight': 0.965, 'content': [{'end': 1352.638, 'text': "Let's say we want to create a linearly spaced vector.", 'start': 1348.996, 'duration': 3.642}, {'end': 1354.038, 'text': 'We are going to be able to do that.', 'start': 1352.918, 'duration': 1.12}, {'end': 1357.66, 'text': "And let's say we want it to be between 1 and 20.", 'start': 1354.358, 'duration': 3.302}, {'end': 1359.04, 'text': 'Go and create another vector.', 'start': 1357.66, 'duration': 1.38}, {'end': 1361.381, 'text': "This doesn't have to start off with VT, by the way.", 'start': 1359.08, 'duration': 2.301}, {'end': 1364.302, 'text': "That's just randomly what I just decided to call my variable.", 'start': 1361.421, 'duration': 2.881}, {'end': 1368.444, 'text': 'And to do this, we can do line space 1, 20, and 4.', 'start': 1364.582, 'duration': 3.862}, {'end': 1372.866, 'text': "And if we execute it, you're going to see exactly how that all lays out.", 'start': 1368.444, 'duration': 4.422}, {'end': 1378.91, 'text': "You're also going to be able to create logarithmically spaced vectors, and that's a tongue twister.", 'start': 1373.086, 'duration': 5.824}, {'end': 1387.557, 'text': "So let's come in and to do that, we can go log space and one and three and three and execute that as well.", 'start': 1379.151, 'duration': 8.406}, {'end': 1390.159, 'text': 'All right, so neat stuff with vectors.', 'start': 1387.697, 'duration': 2.462}, {'end': 1392.641, 'text': 'And now what I want to talk about is matrices.', 'start': 1390.379, 'duration': 2.262}, {'end': 1397.327, 'text': "Now, matrices have both rows as well as columns, which I'm sure you are aware.", 'start': 1392.961, 'duration': 4.366}, {'end': 1399.089, 'text': "And let's go and create them.", 'start': 1397.607, 'duration': 1.482}, {'end': 1399.45, 'text': 'All right.', 'start': 1399.189, 'duration': 0.261}, {'end': 1401.572, 'text': 'So how you do that is two, three and four.', 'start': 1399.47, 'duration': 2.102}, {'end': 1407.6, 'text': 'And then you separate that with a semicolon and four, six and eight as a demonstration.', 'start': 1401.813, 'duration': 5.787}, {'end': 1409.903, 'text': 'And there you can see we created our first matrices.', 'start': 1407.72, 'duration': 2.183}, {'end': 1413.887, 'text': "Now we're going to be able to get the number of values inside of a row.", 'start': 1410.003, 'duration': 3.884}, {'end': 1415.909, 'text': "Let's call this NRV.", 'start': 1413.907, 'duration': 2.002}, {'end': 1419.312, 'text': 'And just by using length like we did previously.', 'start': 1416.329, 'duration': 2.983}, {'end': 1421.434, 'text': "And I'm going to cover a whole bunch of things here.", 'start': 1419.332, 'duration': 2.102}, {'end': 1425.118, 'text': "You're also going to be able to get the total number of values.", 'start': 1421.495, 'duration': 3.623}, {'end': 1427.14, 'text': 'This and how you do that.', 'start': 1425.258, 'duration': 1.882}, {'end': 1427.921, 'text': "Let's go right.", 'start': 1427.16, 'duration': 0.761}, {'end': 1430.622, 'text': 'there, you can execute it and see the results.', 'start': 1428.061, 'duration': 2.561}, {'end': 1434.204, 'text': "we're going to be able to get our row as well as our column size.", 'start': 1430.622, 'duration': 3.582}, {'end': 1435.544, 'text': 'so do like this.', 'start': 1434.204, 'duration': 1.34}, {'end': 1443.128, 'text': "by using size on our matrices, you're going to be able to store the rows and columns in different variables as well.", 'start': 1435.544, 'duration': 7.584}, {'end': 1448.33, 'text': "so we'll go number rows, number of columns and then call size once again.", 'start': 1443.128, 'duration': 5.202}, {'end': 1449.19, 'text': 'And there we are.', 'start': 1448.35, 'duration': 0.84}, {'end': 1450.371, 'text': 'And we execute that.', 'start': 1449.391, 'duration': 0.98}, {'end': 1452.572, 'text': 'You can see the results once again.', 'start': 1450.411, 'duration': 2.161}, {'end': 1455.033, 'text': "Let's go and do some stuff with randoms.", 'start': 1452.772, 'duration': 2.261}, {'end': 1461.256, 'text': "So let's say we want to generate a random matrix with two rows with values between 10 and 20.", 'start': 1455.313, 'duration': 5.943}, {'end': 1462.717, 'text': "Well, that's pretty easy.", 'start': 1461.256, 'duration': 1.461}, {'end': 1465.238, 'text': "All you're going to do is use the randy.", 'start': 1462.937, 'duration': 2.301}, {'end': 1467.559, 'text': "There's a whole bunch of different ways to generate random values.", 'start': 1465.258, 'duration': 2.301}, {'end': 1469.88, 'text': "I'm just using this one because it's very common.", 'start': 1467.779, 'duration': 2.101}, {'end': 1475.025, 'text': 'so i said i wanted values between 10 and 20 and i want to generate two rows.', 'start': 1470.04, 'duration': 4.985}, {'end': 1480.63, 'text': "so there we are and there we go, and if we execute it, you're going to see we have that, and if we execute it again,", 'start': 1475.025, 'duration': 5.605}, {'end': 1483.553, 'text': "you're going to see that it is indeed truly random.", 'start': 1480.63, 'duration': 2.923}, {'end': 1487.196, 'text': "let's say we wanted to change a value inside of a matrix.", 'start': 1483.553, 'duration': 3.643}, {'end': 1488.978, 'text': "you're going to use indexes once again.", 'start': 1487.196, 'duration': 1.782}], 'summary': 'The transcript covers creating vectors and matrices, manipulating their elements, and generating random matrices in matlab.', 'duration': 139.982, 'max_score': 1348.996, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1348996.jpg'}, {'end': 1480.63, 'src': 'embed', 'start': 1455.313, 'weight': 1, 'content': [{'end': 1461.256, 'text': "So let's say we want to generate a random matrix with two rows with values between 10 and 20.", 'start': 1455.313, 'duration': 5.943}, {'end': 1462.717, 'text': "Well, that's pretty easy.", 'start': 1461.256, 'duration': 1.461}, {'end': 1465.238, 'text': "All you're going to do is use the randy.", 'start': 1462.937, 'duration': 2.301}, {'end': 1467.559, 'text': "There's a whole bunch of different ways to generate random values.", 'start': 1465.258, 'duration': 2.301}, {'end': 1469.88, 'text': "I'm just using this one because it's very common.", 'start': 1467.779, 'duration': 2.101}, {'end': 1475.025, 'text': 'so i said i wanted values between 10 and 20 and i want to generate two rows.', 'start': 1470.04, 'duration': 4.985}, {'end': 1480.63, 'text': "so there we are and there we go, and if we execute it, you're going to see we have that, and if we execute it again,", 'start': 1475.025, 'duration': 5.605}], 'summary': 'Demonstrating generation of a 2x2 random matrix between 10 and 20.', 'duration': 25.317, 'max_score': 1455.313, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1455313.jpg'}, {'end': 1583.059, 'src': 'heatmap', 'start': 1534.275, 'weight': 0.711, 'content': [{'end': 1538.836, 'text': "so we'll go last like this and then we can go m2 and end.", 'start': 1534.275, 'duration': 4.561}, {'end': 1543.878, 'text': "we're going to be able to get the second value in the last column as well, just by messing around with these different things,", 'start': 1538.836, 'duration': 5.042}, {'end': 1551.461, 'text': "and last is equal to and m2, and then we'll put two and end inside of there.", 'start': 1543.878, 'duration': 7.583}, {'end': 1553.902, 'text': "and let's say we want to delete the second column.", 'start': 1551.461, 'duration': 2.441}, {'end': 1560.564, 'text': 'we can come in and just go m2 and then assign it no value and throw a semicolon inside there and if we run it,', 'start': 1553.902, 'duration': 6.662}, {'end': 1564.725, 'text': "you're going to see everything in regards to the results that we have there, all right.", 'start': 1560.564, 'duration': 4.161}, {'end': 1567.966, 'text': "so i'm going to do a ton more with matrices here in a second.", 'start': 1564.725, 'duration': 3.241}, {'end': 1569.806, 'text': 'but first i want to talk about looping.', 'start': 1567.966, 'duration': 1.84}, {'end': 1575.051, 'text': "Now we're going to use a for loop and it's going to temporarily assign values.", 'start': 1569.986, 'duration': 5.065}, {'end': 1577.093, 'text': "Let's say we want to use a range from 1 to 10.", 'start': 1575.171, 'duration': 1.922}, {'end': 1583.059, 'text': "It's going to assign that to our i value and like this and end.", 'start': 1577.093, 'duration': 5.966}], 'summary': 'Manipulating matrices and using for loops in code.', 'duration': 48.784, 'max_score': 1534.275, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1534275.jpg'}, {'end': 1752.199, 'src': 'embed', 'start': 1712.701, 'weight': 0, 'content': [{'end': 1720.868, 'text': 'And if that is equal to zero on that situation, I then know I have an even number and I want to output it onto our screen.', 'start': 1712.701, 'duration': 8.167}, {'end': 1725.292, 'text': "Now, MATLAB doesn't have things like if you want to increment a value,", 'start': 1721.108, 'duration': 4.184}, {'end': 1730.097, 'text': "you can't do this where you can't do this like you would do in other programming languages.", 'start': 1725.292, 'duration': 4.805}, {'end': 1731.398, 'text': 'You have to type this out.', 'start': 1730.157, 'duration': 1.241}, {'end': 1732.819, 'text': "Don't know why, but whatever.", 'start': 1731.518, 'duration': 1.301}, {'end': 1733.68, 'text': "It's not that big of a deal.", 'start': 1732.859, 'duration': 0.821}, {'end': 1737.744, 'text': "and we'll go and we will increment i plus one.", 'start': 1734.16, 'duration': 3.584}, {'end': 1743.29, 'text': "there we go, we're incrementing that value right there and let's throw a semicolon in, because we don't need to see that now.", 'start': 1737.744, 'duration': 5.546}, {'end': 1750.397, 'text': 'if we want to continue back to the beginning of our while loop after we do this and not execute any more code, we can just type in continue,', 'start': 1743.29, 'duration': 7.107}, {'end': 1752.199, 'text': "and that's what continue does.", 'start': 1750.397, 'duration': 1.802}], 'summary': 'Using matlab to increment even numbers and continue loop execution.', 'duration': 39.498, 'max_score': 1712.701, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1712701.jpg'}], 'start': 1166.598, 'title': 'Vector operations and matrix manipulation', 'summary': 'Covers vector multiplication, dot product, cross product, linearly spaced vectors, logarithmically spaced vectors, matrix creation, random matrix generation, value manipulation, accessing matrix information, looping with for and while loops, and using break and continue statements.', 'chapters': [{'end': 1204.566, 'start': 1166.598, 'title': 'Creating row and column vectors', 'summary': 'Demonstrates the creation of both row and column vectors, showcasing the process and output of each, along with a brief explanation of vector multiplication.', 'duration': 37.968, 'highlights': ['The chapter explains the process of creating both row and column vectors.', 'It showcases the output of each vector creation process.', 'The chapter briefly mentions performing vector multiplication.']}, {'end': 1778.62, 'start': 1204.726, 'title': 'Vector operations and matrix manipulation', 'summary': 'Covers vector multiplication, dot product, cross product, linearly spaced vectors, logarithmically spaced vectors, matrix creation, random matrix generation, value manipulation, accessing matrix information, looping with for and while loops, and using break and continue statements.', 'duration': 573.894, 'highlights': ['Vector multiplication and dot product Explained the process of vector multiplication and demonstrated the calculation of dot product.', 'Cross product calculation Demonstrated the calculation of cross product using the cross function.', 'Creating linearly and logarithmically spaced vectors Showed the creation of linearly spaced vectors using linspace and logarithmically spaced vectors using logspace.', 'Matrix creation and manipulation Covered the creation of matrices, getting the number of values in a row, total number of values, row and column size, random matrix generation, and value manipulation with indices.', 'Looping with for and while loops, and using break and continue statements Explained looping using for and while loops, demonstrated nested for loops, cycling through matrices and vectors, and using break and continue statements for control flow.']}], 'duration': 612.022, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1166598.jpg', 'highlights': ['Covers vector multiplication, dot product, cross product, linearly spaced vectors, logarithmically spaced vectors, matrix creation, random matrix generation, value manipulation, accessing matrix information, looping with for and while loops, and using break and continue statements.', 'Demonstrated the calculation of cross product using the cross function.', 'Explained looping using for and while loops, demonstrated nested for loops, cycling through matrices and vectors, and using break and continue statements for control flow.', 'Showed the creation of linearly spaced vectors using linspace and logarithmically spaced vectors using logspace.', 'Covered the creation of matrices, getting the number of values in a row, total number of values, row and column size, random matrix generation, and value manipulation with indices.', 'Explained the process of creating both row and column vectors.', 'Demonstrated the calculation of dot product.']}, {'end': 2461.874, 'segs': [{'end': 1806.291, 'src': 'embed', 'start': 1778.94, 'weight': 5, 'content': [{'end': 1782.281, 'text': 'And you can see right here that we only printed our even values.', 'start': 1778.94, 'duration': 3.341}, {'end': 1783.682, 'text': 'And there we go.', 'start': 1782.702, 'duration': 0.98}, {'end': 1785.663, 'text': 'And that is our while loop.', 'start': 1783.782, 'duration': 1.881}, {'end': 1790.665, 'text': 'And now what I want to do is jump over and talk more about some more advanced matrix functions.', 'start': 1785.823, 'duration': 4.842}, {'end': 1793.146, 'text': 'OK, so matrix functions.', 'start': 1790.945, 'duration': 2.201}, {'end': 1795.087, 'text': 'I went and created a couple of matrices here.', 'start': 1793.266, 'duration': 1.821}, {'end': 1796.487, 'text': "OK, so let's go.", 'start': 1795.327, 'duration': 1.16}, {'end': 1797.067, 'text': "Let's go.", 'start': 1796.647, 'duration': 0.42}, {'end': 1798.668, 'text': 'You can add matrices.', 'start': 1797.107, 'duration': 1.561}, {'end': 1802.049, 'text': 'You can multiply them.', 'start': 1798.888, 'duration': 3.161}, {'end': 1806.291, 'text': 'You can pay special attention to the little period you have there.', 'start': 1802.349, 'duration': 3.942}], 'summary': 'Demonstrated printing even values and discussing matrix functions.', 'duration': 27.351, 'max_score': 1778.94, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1778940.jpg'}, {'end': 1875.213, 'src': 'embed', 'start': 1846.138, 'weight': 1, 'content': [{'end': 1853.579, 'text': "Of course, whenever you're performing the multiplication, your columns of M6 must equal the rows in M7.", 'start': 1846.138, 'duration': 7.441}, {'end': 1857.1, 'text': "So let's go M8 is equal to M6 times M7.", 'start': 1853.639, 'duration': 3.461}, {'end': 1861.141, 'text': 'you can see how that works out.', 'start': 1859.36, 'duration': 1.781}, {'end': 1866.046, 'text': "and if you're at all confused by what's going on here, let's say we have m8.", 'start': 1861.141, 'duration': 4.905}, {'end': 1875.213, 'text': 'the way this is going to work out is your first index is going to be actually equal to 1 times 1, plus 2 times 2 and plus 3 times 3,', 'start': 1866.046, 'duration': 9.167}], 'summary': 'M8 = m6 x m7, ensuring columns of m6 equal rows in m7.', 'duration': 29.075, 'max_score': 1846.138, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1846138.jpg'}, {'end': 1962.448, 'src': 'heatmap', 'start': 1905.311, 'weight': 1, 'content': [{'end': 1910.615, 'text': 'and this is how we would be able to find out how many of those values are greater than three,', 'start': 1905.311, 'duration': 5.304}, {'end': 1914.237, 'text': 'and you can see here that we got a logical array or boolean array.', 'start': 1910.615, 'duration': 3.622}, {'end': 1918.239, 'text': 'however you want to refer to it, you could also come in and check for equality.', 'start': 1914.237, 'duration': 4.002}, {'end': 1920.081, 'text': 'obviously these are not equal.', 'start': 1918.239, 'duration': 1.842}, {'end': 1927.065, 'text': "just by going is equal and then passing in the matrices, you'll be able to find matching values.", 'start': 1920.081, 'duration': 6.984}, {'end': 1939.677, 'text': "so let's say we go find for m3 and those values that are greater than 24, and you can see right here that we come back with only 12,", 'start': 1927.065, 'duration': 12.612}, {'end': 1943.421, 'text': "because there's the 32 and everything else is less than 24..", 'start': 1939.677, 'duration': 3.744}, {'end': 1950.317, 'text': "you're also going to be able to multiply your column values with product So let's just go M3 like that.", 'start': 1943.421, 'duration': 6.896}, {'end': 1954.221, 'text': "We're also going to be able, what's called cumulative sum.", 'start': 1950.537, 'duration': 3.684}, {'end': 1962.448, 'text': 'And the way this works is the first row stays the same and each after is a sum of the proceeding as well as the current row.', 'start': 1954.601, 'duration': 7.847}], 'summary': 'Analyzing matrices for values, equality, and operations; finding 12 values greater than 24 in m3.', 'duration': 57.137, 'max_score': 1905.311, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1905311.jpg'}, {'end': 2053.483, 'src': 'embed', 'start': 2000.28, 'weight': 3, 'content': [{'end': 2011.007, 'text': 'so if you would want to flip the first column with the last, you can go flip and lr for that and then you can also flip rows.', 'start': 2000.28, 'duration': 10.727}, {'end': 2016.81, 'text': "so we'll go flip ud and throw that matrices in there as well.", 'start': 2011.007, 'duration': 5.803}, {'end': 2023.353, 'text': "you could also rotate 90 degrees, rotate 90 degrees, and it's actually very useful.", 'start': 2016.81, 'duration': 6.543}, {'end': 2026.554, 'text': "if i'll give an example later on how to use that.", 'start': 2023.353, 'duration': 3.201}, {'end': 2038.318, 'text': "um, you're also going to be able to rotate 180 degrees by just coming in throwing two inside of there and you can convert into a two by six matrices,", 'start': 2026.554, 'duration': 11.764}, {'end': 2045.8, 'text': 'for example by using reshape, and again throw that in there and then how you want it to be converted.', 'start': 2038.318, 'duration': 7.482}, {'end': 2053.483, 'text': 'you can duplicate the matrix into a new matrix if, for example, you wanted two rows by, uh, one column,', 'start': 2045.8, 'duration': 7.683}], 'summary': 'The transcript discusses flipping, rotating, and reshaping matrices, including examples and conversions.', 'duration': 53.203, 'max_score': 2000.28, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2000280.jpg'}, {'end': 2208.454, 'src': 'embed', 'start': 2183.642, 'weight': 0, 'content': [{'end': 2189.423, 'text': "And you're also going to be able to delete Patty out of Doug Smith just like that, out of his life.", 'start': 2183.642, 'duration': 5.781}, {'end': 2192.944, 'text': "And let's say, let's go and output this information.", 'start': 2189.843, 'duration': 3.101}, {'end': 2195.685, 'text': 'So we can go one and we can do length.', 'start': 2193.244, 'duration': 2.441}, {'end': 2198.026, 'text': 'There it is.', 'start': 2197.185, 'duration': 0.841}, {'end': 2201.628, 'text': 'And then we can just display each one of those one by one.', 'start': 2198.326, 'duration': 3.302}, {'end': 2204.25, 'text': 'And how you would display them is like this.', 'start': 2201.849, 'duration': 2.401}, {'end': 2208.454, 'text': 'And then, of course, with your curly brackets inside of there to output that.', 'start': 2204.571, 'duration': 3.883}], 'summary': "The transcript discusses the process of deleting patty from doug smith's life and outputting information using curly brackets.", 'duration': 24.812, 'max_score': 2183.642, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2183642.jpg'}, {'end': 2254.245, 'src': 'embed', 'start': 2222.285, 'weight': 2, 'content': [{'end': 2237.778, 'text': "so let's go, A3 is equal to, and let's go, Doug and Patty, and here is a matrix and character, and see A3, and you can see there they show up.", 'start': 2222.285, 'duration': 15.493}, {'end': 2242.082, 'text': "and likewise you're going to be able to turn character arrays into cell arrays.", 'start': 2237.778, 'duration': 4.304}, {'end': 2242.342, 'text': 'so', 'start': 2242.082, 'duration': 0.26}, {'end': 2251.084, 'text': 'is equal to cell str and name that and run it, and there you can see that works as well.', 'start': 2242.982, 'duration': 8.102}, {'end': 2254.245, 'text': "alright. so there's some things you could do with cell arrays.", 'start': 2251.084, 'duration': 3.161}], 'summary': 'The transcript discusses converting character arrays into cell arrays and demonstrates the process.', 'duration': 31.96, 'max_score': 2222.285, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2222285.jpg'}, {'end': 2327.498, 'src': 'heatmap', 'start': 2278.035, 'weight': 0.716, 'content': [{'end': 2280.417, 'text': 'Of course, it starts at the first index.', 'start': 2278.035, 'duration': 2.382}, {'end': 2281.978, 'text': 'You can get substrings.', 'start': 2280.517, 'duration': 1.461}, {'end': 2283.839, 'text': "You're going to be able to join strings.", 'start': 2282.098, 'duration': 1.741}, {'end': 2287.582, 'text': "So let's go like this with string concatenation.", 'start': 2284.04, 'duration': 3.542}, {'end': 2290.605, 'text': "So let's take the first string that we have inside of here.", 'start': 2287.803, 'duration': 2.802}, {'end': 2298.871, 'text': "that there, since i'm using the single quotes, can go in and that's longer, can find all index matches for a string.", 'start': 2290.925, 'duration': 7.946}, {'end': 2305.576, 'text': "so let's go and say string find, use string two and specifically look for a.", 'start': 2298.871, 'duration': 6.705}, {'end': 2308.299, 'text': 'And whoops, what did I do wrong?', 'start': 2306.557, 'duration': 1.742}, {'end': 2309.54, 'text': 'Oh, I see what I did.', 'start': 2308.539, 'duration': 1.001}, {'end': 2310.481, 'text': 'There we go.', 'start': 2309.781, 'duration': 0.7}, {'end': 2312.744, 'text': 'And there you can see all that shows up over there.', 'start': 2310.702, 'duration': 2.042}, {'end': 2313.304, 'text': 'Pretty cool.', 'start': 2312.844, 'duration': 0.46}, {'end': 2320.832, 'text': 'You can replace any matches with just string replace and pass in the specific string that you want to work with.', 'start': 2313.404, 'duration': 7.428}, {'end': 2326.418, 'text': "And let's say that I want to go and get longer and replace it with the word bigger.", 'start': 2320.992, 'duration': 5.426}, {'end': 2327.498, 'text': 'I can bigger it.', 'start': 2326.678, 'duration': 0.82}], 'summary': 'The transcript covers string manipulation methods like substring, join, find, and replace.', 'duration': 49.463, 'max_score': 2278.035, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2278035.jpg'}], 'start': 1778.94, 'title': 'Matlab data manipulation', 'summary': 'Covers advanced matrix functions, cell arrays, character matrices, and structures in matlab, demonstrating various data manipulation techniques, including operations such as length, deletion, output, conversion, comparison, sorting, and text processing.', 'chapters': [{'end': 2163.232, 'start': 1778.94, 'title': 'Matrices, cell arrays & functions', 'summary': 'Covers advanced matrix functions in matlab, including matrix operations, logical operations, cumulative sum and product, flipping, rotating, reshaping, and duplicating matrices, as well as an introduction to cell arrays.', 'duration': 384.292, 'highlights': ['The chapter covers advanced matrix functions in MATLAB, including matrix operations, logical operations, cumulative sum and product, flipping, rotating, reshaping, and duplicating matrices, as well as an introduction to cell arrays.', 'Matrix multiplication is demonstrated using M8 = M6 times M7, where the resulting values are calculated based on the multiplication of corresponding elements in M6 and M7.', 'Logical operations are highlighted, including finding values greater than a given number, checking for equality, and multiplying column values with product, with specific examples and outcomes provided.', 'The concept of cumulative sum and product is illustrated with examples of both ascending and reverse orders, demonstrating the sum and product of each row consecutively.', 'The functions for flipping matrices, including flipping columns and rows, as well as rotating matrices by 90 and 180 degrees, are explained with practical examples and expected outcomes.', 'The process of reshaping matrices and duplicating elements into a new matrix is demonstrated, showcasing the flexibility and utility of these functions within MATLAB.', 'The introduction to cell arrays is covered, emphasizing their ability to store values of different types and the methods for adding, accessing, and modifying values within cell arrays.']}, {'end': 2461.874, 'start': 2163.312, 'title': 'Matlab data manipulation', 'summary': 'Covers various data manipulation techniques in matlab, including cell arrays, character matrices, string manipulation, and structures, demonstrating operations such as length, deletion, output, conversion, comparison, sorting, and text processing.', 'duration': 298.562, 'highlights': ['The chapter covers various data manipulation techniques in MATLAB, including cell arrays, character matrices, string manipulation, and structures. Demonstrating different data manipulation techniques and data structures in MATLAB.', 'Operations such as length, deletion, output, conversion, comparison, sorting, and text processing are demonstrated. Showing various operations such as length calculation, deletion, output display, data type conversion, comparison, sorting, and text processing.', 'Demonstrating operations such as length, deletion, output, conversion, comparison, sorting, and text processing. Illustrating various operations including length calculation, deletion, output display, data type conversion, comparison, sorting, and text processing.']}], 'duration': 682.934, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI1778940.jpg', 'highlights': ['The chapter covers advanced matrix functions in MATLAB, including matrix operations, logical operations, cumulative sum and product, flipping, rotating, reshaping, and duplicating matrices, as well as an introduction to cell arrays.', 'Operations such as length, deletion, output, conversion, comparison, sorting, and text processing are demonstrated. Showing various operations such as length calculation, deletion, output display, data type conversion, comparison, sorting, and text processing.', 'The introduction to cell arrays is covered, emphasizing their ability to store values of different types and the methods for adding, accessing, and modifying values within cell arrays.', 'Matrix multiplication is demonstrated using M8 = M6 times M7, where the resulting values are calculated based on the multiplication of corresponding elements in M6 and M7.', 'Logical operations are highlighted, including finding values greater than a given number, checking for equality, and multiplying column values with product, with specific examples and outcomes provided.', 'The concept of cumulative sum and product is illustrated with examples of both ascending and reverse orders, demonstrating the sum and product of each row consecutively.', 'The functions for flipping matrices, including flipping columns and rows, as well as rotating matrices by 90 and 180 degrees, are explained with practical examples and expected outcomes.', 'The process of reshaping matrices and duplicating elements into a new matrix is demonstrated, showcasing the flexibility and utility of these functions within MATLAB.']}, {'end': 2981.112, 'segs': [{'end': 2679.322, 'src': 'embed', 'start': 2649.798, 'weight': 4, 'content': [{'end': 2657.965, 'text': "So now what we're going to do is we're going to go age is equal to, and I'm just going to throw in some random numbers inside of here.", 'start': 2649.798, 'duration': 8.167}, {'end': 2659.106, 'text': 'So 27, 31, and there you go.', 'start': 2657.985, 'duration': 1.121}, {'end': 2661.509, 'text': "And let's say we also wanted to have salary.", 'start': 2659.207, 'duration': 2.302}, {'end': 2667.754, 'text': 'We can store that inside of here.', 'start': 2665.652, 'duration': 2.102}, {'end': 2669.634, 'text': "So we'll go 35,000.", 'start': 2667.834, 'duration': 1.8}, {'end': 2672.417, 'text': 'And okay, got all that set up.', 'start': 2669.635, 'duration': 2.782}, {'end': 2678.061, 'text': 'And now we want to be able to use IDs to refer to this information.', 'start': 2672.797, 'duration': 5.264}, {'end': 2679.322, 'text': 'So, and there we are.', 'start': 2678.301, 'duration': 1.021}], 'summary': 'Data input includes age (27, 31) and salary (35,000) with corresponding ids.', 'duration': 29.524, 'max_score': 2649.798, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2649798.jpg'}, {'end': 2939.932, 'src': 'embed', 'start': 2898.242, 'weight': 0, 'content': [{'end': 2905.408, 'text': "and then what we'll do is we will load all of that data and then display it on the screen.", 'start': 2898.242, 'duration': 7.166}, {'end': 2912.274, 'text': "and then let's say we also want to come in and append some data to our file again.", 'start': 2905.408, 'duration': 6.866}, {'end': 2913.135, 'text': 'whoops, what did i do?', 'start': 2912.274, 'duration': 0.861}, {'end': 2915.676, 'text': "uh, let's just go one, two, three.", 'start': 2914.075, 'duration': 1.601}, {'end': 2916.957, 'text': 'we just use save,', 'start': 2915.676, 'duration': 1.281}, {'end': 2926.963, 'text': "followed with append my data and you know the variable and there you can see it's showing all of the different variables that we've been working with.", 'start': 2916.957, 'duration': 10.006}, {'end': 2929.164, 'text': 'all right, so pretty cool stuff.', 'start': 2926.963, 'duration': 2.201}, {'end': 2931.526, 'text': 'and now what i want to do is talk about functions.', 'start': 2929.164, 'duration': 2.362}, {'end': 2936.37, 'text': 'Now, your functions are going to have to come down at the end of your file.', 'start': 2931.906, 'duration': 4.464}, {'end': 2939.932, 'text': 'And how you define a function is you type in the word function.', 'start': 2936.69, 'duration': 3.242}], 'summary': 'Loading and displaying data, appending, saving, and defining functions in a file.', 'duration': 41.69, 'max_score': 2898.242, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2898242.jpg'}, {'end': 2990.66, 'src': 'embed', 'start': 2963.726, 'weight': 7, 'content': [{'end': 2968.808, 'text': "A pi is a value that's already stored inside of MATLAB.", 'start': 2963.726, 'duration': 5.082}, {'end': 2976.791, 'text': "And then we can perform this calculation and it's going to automatically return whatever the value is for what we said it is up here.", 'start': 2969.388, 'duration': 7.403}, {'end': 2981.112, 'text': 'And these are the attributes that are going to be sent inside of it to get it to work.', 'start': 2976.991, 'duration': 4.121}, {'end': 2990.66, 'text': 'Now what we can do is just come in and go cylinder volume and 20 and 30 or whatever you want to do inside of there and run it.', 'start': 2981.491, 'duration': 9.169}], 'summary': 'Matlab stores the value of pi for calculations, with attributes sent to calculate cylinder volume.', 'duration': 26.934, 'max_score': 2963.726, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2963726.jpg'}], 'start': 2462.074, 'title': 'Creating data structures and file io in matlab', 'summary': 'Explains creating structs in programming, working with data structures and tables including adding, removing, and checking fields, and matlab functions and file io operations such as saving and displaying data from a matrix, saving variables to a file, and defining and using functions.', 'chapters': [{'end': 2507.423, 'start': 2462.074, 'title': 'Creating structs in programming', 'summary': 'Explains the process of creating a struct in programming, using the example of creating a custom data type with related fields, such as name and age, and accessing data within the struct.', 'duration': 45.349, 'highlights': ['The process of creating a struct in programming involves defining a custom data type with related fields, such as name and age, and accessing data within the struct. The chapter explains the process of creating a struct in programming, using the example of creating a custom data type with related fields, such as name and age, and accessing data within the struct.', 'The struct contains fields for name, age, and a vector representing a list of items purchased at a store. The struct includes fields for name and age, and also demonstrates the inclusion of a vector to represent a list of items purchased at a store.']}, {'end': 2735.4, 'start': 2507.423, 'title': 'Working with data structures and tables', 'summary': 'Covers working with data structures to store and manipulate information, including adding, removing, and checking fields, as well as storing structures in a vector. it also explains the concept of tables, creating labeled rows of data, and using ids to refer to information, with examples of operations like defining row names and calculating averages.', 'duration': 227.977, 'highlights': ['Working with data structures to store and manipulate information Demonstrates adding, removing, and checking fields within data structures, as well as storing structures in a vector.', 'Explaining the concept of tables and creating labeled rows of data Illustrates the creation of tables and using IDs to refer to information, with examples of defining row names and storing data within the table.', 'Using IDs to refer to information and performing operations like calculating averages Shows how to use IDs to refer to information within the table and perform operations such as calculating averages.']}, {'end': 2981.112, 'start': 2735.4, 'title': 'Matlab functions and file io', 'summary': 'Covers adding vacation days to employees in a specific order, manipulating table data to display individual employees, saving and displaying data from a matrix, saving variables to a file, appending data, and defining and using functions in matlab.', 'duration': 245.712, 'highlights': ['Saving and displaying data from a matrix The process of saving a matrix as a text file, loading the data, and displaying it on the screen is demonstrated, allowing for manipulation and display of the matrix data.', 'Saving variables to a file and appending data The method of saving all variables to a file, loading the data, and appending new data to the file is explained, showcasing the storage and manipulation of variables.', 'Defining and using functions in MATLAB The process of defining a function in MATLAB, including the syntax and parameters, is illustrated, with an example of a function to calculate the volume of a cylinder using given inputs.', 'Adding vacation days to employees in a specific order The method of adding vacation days to employees in a specific order, such as Jim, Pam, and Dwight, with corresponding vacation day values, is demonstrated.']}], 'duration': 519.038, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2462074.jpg', 'highlights': ['The process of creating a struct in programming involves defining a custom data type with related fields, such as name and age, and accessing data within the struct.', 'Working with data structures to store and manipulate information Demonstrates adding, removing, and checking fields within data structures, as well as storing structures in a vector.', 'Saving and displaying data from a matrix The process of saving a matrix as a text file, loading the data, and displaying it on the screen is demonstrated, allowing for manipulation and display of the matrix data.', 'Explaining the concept of tables and creating labeled rows of data Illustrates the creation of tables and using IDs to refer to information, with examples of defining row names and storing data within the table.', 'Using IDs to refer to information and performing operations like calculating averages Shows how to use IDs to refer to information within the table and perform operations such as calculating averages.', 'Saving variables to a file and appending data The method of saving all variables to a file, loading the data, and appending new data to the file is explained, showcasing the storage and manipulation of variables.', 'Defining and using functions in MATLAB The process of defining a function in MATLAB, including the syntax and parameters, is illustrated, with an example of a function to calculate the volume of a cylinder using given inputs.', 'The struct contains fields for name, age, and a vector representing a list of items purchased at a store.']}, {'end': 3708.477, 'segs': [{'end': 3003.353, 'src': 'embed', 'start': 2981.491, 'weight': 3, 'content': [{'end': 2990.66, 'text': 'Now what we can do is just come in and go cylinder volume and 20 and 30 or whatever you want to do inside of there and run it.', 'start': 2981.491, 'duration': 9.169}, {'end': 2994.004, 'text': 'Whoops, and I forgot to put the multiplication inside of there.', 'start': 2990.84, 'duration': 3.164}, {'end': 2997.687, 'text': "Now we can run it and we can see that we're able to perform that calculation.", 'start': 2994.164, 'duration': 3.523}, {'end': 3003.353, 'text': "All right, let's go and do more functions because there are a ton we can make and a ton of different types we can make.", 'start': 2998.008, 'duration': 5.345}], 'summary': 'Demonstrated calculation of cylinder volume; plans to create more functions.', 'duration': 21.862, 'max_score': 2981.491, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2981491.jpg'}, {'end': 3145.664, 'src': 'embed', 'start': 3120.833, 'weight': 6, 'content': [{'end': 3130.137, 'text': "And let's say that random numbers, what's going to be returned and the name of the function again is get random number.", 'start': 3120.833, 'duration': 9.304}, {'end': 3133.378, 'text': 'We will go and generate it and return it.', 'start': 3130.317, 'duration': 3.061}, {'end': 3143.163, 'text': "let's say that we want it to be between 1 and 100 and close that off and then end once again and run it.", 'start': 3133.858, 'duration': 9.305}, {'end': 3145.664, 'text': 'and you can see here it generated a random number.', 'start': 3143.163, 'duration': 2.501}], 'summary': "The function 'get random number' generates a number between 1 and 100.", 'duration': 24.831, 'max_score': 3120.833, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3120833.jpg'}, {'end': 3256.91, 'src': 'embed', 'start': 3226.895, 'weight': 1, 'content': [{'end': 3229.457, 'text': 'So I am going to have the sum.', 'start': 3226.895, 'duration': 2.562}, {'end': 3233.78, 'text': "This function I'm going to create is going to sum a random number of values.", 'start': 3229.517, 'duration': 4.263}, {'end': 3234.941, 'text': 'so there it is.', 'start': 3234.06, 'duration': 0.881}, {'end': 3240.588, 'text': "I can be as many values as I would like and then we'll define the function down inside of here.", 'start': 3234.941, 'duration': 5.647}, {'end': 3248.818, 'text': "it's going to return a variable named sum and it's called get sum, obviously, and if you want to receive a variable number of values,", 'start': 3240.588, 'duration': 8.23}, {'end': 3256.91, 'text': 'you just type in a var origin like that, and then we need to give some a value ahead of time.', 'start': 3248.818, 'duration': 8.092}], 'summary': 'Creating a function to sum a variable number of values.', 'duration': 30.015, 'max_score': 3226.895, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3226895.jpg'}, {'end': 3461.452, 'src': 'embed', 'start': 3435.937, 'weight': 0, 'content': [{'end': 3442.72, 'text': "we can then go solution and we're going to create a function called do math, that we're going to pass our function into.", 'start': 3435.937, 'duration': 6.783}, {'end': 3444.001, 'text': "so we'll go malt.", 'start': 3442.72, 'duration': 1.281}, {'end': 3449.503, 'text': "three, there's the function and then four, which is going to be the value that is going to work with.", 'start': 3444.001, 'duration': 5.502}, {'end': 3449.963, 'text': 'all right.', 'start': 3449.503, 'duration': 0.46}, {'end': 3459.03, 'text': "so now what we can do is come down here here and go function, and solution is equal to do math and it's going to receive a function.", 'start': 3449.963, 'duration': 9.067}, {'end': 3461.452, 'text': "no, you don't have to use funk there, you can use whatever you want.", 'start': 3459.03, 'duration': 2.422}], 'summary': "Creating a 'do math' function to pass a function and a value for computation.", 'duration': 25.515, 'max_score': 3435.937, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3435937.jpg'}, {'end': 3578.567, 'src': 'embed', 'start': 3533.809, 'weight': 4, 'content': [{'end': 3535.411, 'text': "you're going to see that that works as well.", 'start': 3533.809, 'duration': 1.602}, {'end': 3540.475, 'text': "so cool stuff with functions, and we're still not done, because we're going to talk about recursive functions.", 'start': 3535.411, 'duration': 5.064}, {'end': 3548.421, 'text': 'next, actually, before recursive functions, i want to talk about something else, which is eval, or evaluate, and what it allows you to do.', 'start': 3540.475, 'duration': 7.946}, {'end': 3549.882, 'text': "then i'll jump into recursion, all right.", 'start': 3548.421, 'duration': 1.461}, {'end': 3555.168, 'text': "so what eval does is it'll actually allows you to execute code that is saved as a string.", 'start': 3549.882, 'duration': 5.286}, {'end': 3563.496, 'text': "so i'm going to call this to execute and equal to s print f, which we covered previously, which generates a string.", 'start': 3555.168, 'duration': 8.328}, {'end': 3576.125, 'text': "so here what i'm going to do is i'm going to say total is going to be equal to and this plus d and close that off, and then i'm going to go 5 and 4,", 'start': 3563.496, 'duration': 12.629}, {'end': 3576.866, 'text': 'and there we go.', 'start': 3576.125, 'duration': 0.741}, {'end': 3578.567, 'text': 'so that is our string.', 'start': 3576.866, 'duration': 1.701}], 'summary': 'Introduction to eval and recursive functions in python.', 'duration': 44.758, 'max_score': 3533.809, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3533809.jpg'}, {'end': 3665.1, 'src': 'embed', 'start': 3641.412, 'weight': 2, 'content': [{'end': 3648.641, 'text': "So you can see right there, this num is going to slowly get to the point where it is equal to one and then it's going to stop execution.", 'start': 3641.412, 'duration': 7.229}, {'end': 3650.904, 'text': "So let's end that and end that.", 'start': 3648.701, 'duration': 2.203}, {'end': 3659.313, 'text': 'And now what we can do is come out here and we can go factorial of 4 and execute it.', 'start': 3651.304, 'duration': 8.009}, {'end': 3661.075, 'text': "And you can see it's equal to 24.", 'start': 3659.334, 'duration': 1.741}, {'end': 3664.459, 'text': "Now, if you're confused about how that works, this is basically how it works.", 'start': 3661.075, 'duration': 3.384}, {'end': 3665.1, 'text': 'All right.', 'start': 3664.72, 'duration': 0.38}], 'summary': 'Demonstration of factorial calculation, resulting in 24.', 'duration': 23.688, 'max_score': 3641.412, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3641412.jpg'}], 'start': 2981.491, 'title': 'Python functions and variables', 'summary': 'Covers defining functions and local variables, including creating functions with and without arguments, and demonstrates the difference between global and local variables. it also explores returning multiple values, accepting a variable number of arguments, using anonymous functions, passing functions to functions, returning functions, utilizing eval for executing code saved as a string, and understanding recursive functions, with examples and explanations.', 'chapters': [{'end': 3145.664, 'start': 2981.491, 'title': 'Python functions and local variables', 'summary': 'Covers the concept of defining functions and local variables in python, including creating functions with and without arguments, and demonstrates the difference between global and local variables, with examples and explanations.', 'duration': 164.173, 'highlights': ['The concept of defining functions and local variables in Python is explained, including creating functions with and without arguments, and demonstrating the difference between global and local variables.', 'The example of attempting to change the value of a variable within a function is illustrated, showing that local variables inside a function are specific to the function and cease to exist once the function stops executing.', 'Demonstration of creating a function that does not receive attributes, and the explanation that the name inside the function is specific to the function as a whole and ceases to exist once the function stops executing.']}, {'end': 3708.477, 'start': 3145.664, 'title': 'Functions and return values', 'summary': 'Explores the concept of returning multiple values from a function, accepting a variable number of arguments, using anonymous functions, passing functions to functions, returning functions, utilizing eval for executing code saved as a string, and understanding recursive functions, with examples and explanations.', 'duration': 562.813, 'highlights': ['The chapter covers returning multiple values from a function and accepting a variable number of arguments. The chapter demonstrates returning both cone volume and cylinder volume from a function and accepting a variable number of values for sum calculation.', 'The concept of anonymous functions is explained with an example of using an anonymous function to calculate volume. An example of an anonymous function is provided where it calculates the volume by passing in length, width, and height as attributes.', 'Passing functions to functions and returning functions are discussed with examples of multiplying a value and creating a function to multiply by a specific value. The chapter illustrates the process of passing a function to a function and creating a function that allows multiplication by a specific value.', 'The use of eval for executing code saved as a string is demonstrated with an example. The chapter shows how to use eval to execute code saved as a string, with an example demonstrating its functionality.', 'Recursive functions are explained with an example of calculating factorials using recursion. The concept of recursive functions is explained with an example of calculating factorials using a recursive function.']}], 'duration': 726.986, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI2981491.jpg', 'highlights': ['The concept of defining functions and local variables in Python is explained, including creating functions with and without arguments, and demonstrating the difference between global and local variables.', 'Demonstration of creating a function that does not receive attributes, and the explanation that the name inside the function is specific to the function as a whole and ceases to exist once the function stops executing.', 'The example of attempting to change the value of a variable within a function is illustrated, showing that local variables inside a function are specific to the function and cease to exist once the function stops executing.', 'The chapter covers returning multiple values from a function and accepting a variable number of arguments. The chapter demonstrates returning both cone volume and cylinder volume from a function and accepting a variable number of values for sum calculation.', 'The concept of anonymous functions is explained with an example of using an anonymous function to calculate volume. An example of an anonymous function is provided where it calculates the volume by passing in length, width, and height as attributes.', 'Passing functions to functions and returning functions are discussed with examples of multiplying a value and creating a function to multiply by a specific value. The chapter illustrates the process of passing a function to a function and creating a function that allows multiplication by a specific value.', 'The use of eval for executing code saved as a string is demonstrated with an example. The chapter shows how to use eval to execute code saved as a string, with an example demonstrating its functionality.', 'Recursive functions are explained with an example of calculating factorials using recursion. The concept of recursive functions is explained with an example of calculating factorials using a recursive function.']}, {'end': 4218.217, 'segs': [{'end': 3781.429, 'src': 'embed', 'start': 3754.649, 'weight': 1, 'content': [{'end': 3758.312, 'text': "So here is shape and let's open it up and let's create it.", 'start': 3754.649, 'duration': 3.663}, {'end': 3763.756, 'text': 'So basically to define a class, you go class first off the name shape.m.', 'start': 3758.532, 'duration': 5.224}, {'end': 3769.38, 'text': "Okay So class definition, and it's going to be called shape exactly the same.", 'start': 3764.036, 'duration': 5.344}, {'end': 3772.402, 'text': 'Then what you need to do is define your properties.', 'start': 3769.54, 'duration': 2.862}, {'end': 3777.386, 'text': "So I'm going to say that every shape is going to have a height as well as well.", 'start': 3772.422, 'duration': 4.964}, {'end': 3780.248, 'text': "Let's change that to not weight width.", 'start': 3777.446, 'duration': 2.802}, {'end': 3781.429, 'text': 'So there we are.', 'start': 3780.508, 'duration': 0.921}], 'summary': "Defining a class 'shape' with properties height and width.", 'duration': 26.78, 'max_score': 3754.649, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3754649.jpg'}, {'end': 3827.86, 'src': 'embed', 'start': 3802.862, 'weight': 5, 'content': [{'end': 3812.915, 'text': "so what I'm going to do here is I'm going to define this and you have to put your static methods before your non-static methods inside of your class definition.", 'start': 3802.862, 'duration': 10.053}, {'end': 3815.096, 'text': "So I'm just going to create a function here.", 'start': 3813.076, 'duration': 2.02}, {'end': 3825.699, 'text': "And what it's going to do is either allow for the setting or the getting of the number of shapes that have been created so far.", 'start': 3815.756, 'duration': 9.943}, {'end': 3826.46, 'text': 'All right.', 'start': 3825.719, 'duration': 0.741}, {'end': 3827.86, 'text': 'So I got that set up.', 'start': 3826.5, 'duration': 1.36}], 'summary': 'Defining function to set/get number of shapes created.', 'duration': 24.998, 'max_score': 3802.862, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3802862.jpg'}, {'end': 3955.051, 'src': 'embed', 'start': 3926.725, 'weight': 2, 'content': [{'end': 3935.689, 'text': 'It initializes or defines the basics of every shape that is ever created based off of data that is passed inside of it.', 'start': 3926.725, 'duration': 8.964}, {'end': 3936.889, 'text': "That's what a constructor does.", 'start': 3935.749, 'duration': 1.14}, {'end': 3939.31, 'text': 'And this is just going to be width as well.', 'start': 3937.269, 'duration': 2.041}, {'end': 3943.916, 'text': 'Then I want to increment the number of shapes being created.', 'start': 3939.85, 'duration': 4.066}, {'end': 3955.051, 'text': "So I'm going to go object and set get num shapes and pass one inside of there by closing that function and creating another one.", 'start': 3944.316, 'duration': 10.735}], 'summary': 'Introduction to constructor function for defining shapes and incrementing the number of shapes created.', 'duration': 28.326, 'max_score': 3926.725, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3926725.jpg'}, {'end': 4233.684, 'src': 'embed', 'start': 4204.973, 'weight': 0, 'content': [{'end': 4207.974, 'text': 'And you can see a whole bunch of things showed up here automatically.', 'start': 4204.973, 'duration': 3.001}, {'end': 4210.555, 'text': "I'm going to get rid of it just to clear up the screen a little bit.", 'start': 4207.994, 'duration': 2.561}, {'end': 4217.397, 'text': "Of course, it's a good idea to put tons of comments everywhere, but I'm working with limited real estate.", 'start': 4210.715, 'duration': 6.682}, {'end': 4218.217, 'text': 'All right.', 'start': 4217.777, 'duration': 0.44}, {'end': 4227.42, 'text': 'So if we want to inherit all of the properties and methods that are inside of shape, what we do is just go like this and type in shape like that.', 'start': 4218.297, 'duration': 9.123}, {'end': 4230.341, 'text': "It automatically works as long as they're in the same file folder.", 'start': 4227.54, 'duration': 2.801}, {'end': 4233.684, 'text': 'What I want to do here is I want to define, I want to extend it.', 'start': 4230.501, 'duration': 3.183}], 'summary': "Inherit properties and methods from 'shape' by typing 'shape', automatically works if in same folder.", 'duration': 28.711, 'max_score': 4204.973, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI4204973.jpg'}], 'start': 3708.477, 'title': 'Matlab object-oriented programming and overloading functions in matlab', 'summary': 'Introduces object-oriented programming in matlab, explaining class modeling, properties, and methods, while also discussing overloading functions, operators, and inheritance, with practical code demonstrations.', 'chapters': [{'end': 3955.051, 'start': 3708.477, 'title': 'Matlab object-oriented programming', 'summary': 'Introduces the concept of object-oriented programming in matlab, explaining how classes model real-world objects, define properties and methods, while demonstrating the use of static methods and the creation of constructors.', 'duration': 246.574, 'highlights': ['Classes model real-world objects by storing attributes as properties and modeling capabilities using methods. Explains that classes in MATLAB model real-world objects by storing attributes as properties and modeling capabilities using methods.', 'Static methods and properties are shared by all shape objects, and a property change affects all objects. Demonstrates the use of static methods and properties, emphasizing that they are shared by all shape objects and any changes to a property affects all objects.', 'Creating a constructor for a class that sets the initial attributes of a shape when it is created. Explains the creation of a constructor in a class that sets the initial attributes of a shape when it is created.']}, {'end': 4218.217, 'start': 3955.211, 'title': 'Overloading functions and operators in matlab', 'summary': 'Discusses overloading the display function, creating objects, overloading operators, and inheritance in matlab, demonstrating code implementation and functionality.', 'duration': 263.006, 'highlights': ['The chapter covers overloading the display function, creating objects, and overloading operators in MATLAB, offering practical examples and code demonstrations.', 'The chapter explains how to overload the display function and create objects in MATLAB, showcasing the steps and providing insights into the functionality of these processes.', 'The chapter elaborates on overloading operators and inheritance in MATLAB, demonstrating the implementation and functionality through practical code examples and explanations.']}], 'duration': 509.74, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI3708477.jpg', 'highlights': ['Classes model real-world objects by storing attributes as properties and modeling capabilities using methods.', 'The chapter covers overloading the display function, creating objects, and overloading operators in MATLAB, offering practical examples and code demonstrations.', 'Static methods and properties are shared by all shape objects, and a property change affects all objects.', 'The chapter explains how to overload the display function and create objects in MATLAB, showcasing the steps and providing insights into the functionality of these processes.', 'Creating a constructor for a class that sets the initial attributes of a shape when it is created.', 'The chapter elaborates on overloading operators and inheritance in MATLAB, demonstrating the implementation and functionality through practical code examples and explanations.']}, {'end': 4652.079, 'segs': [{'end': 4561.443, 'src': 'embed', 'start': 4539.506, 'weight': 2, 'content': [{'end': 4549.734, 'text': "so i'm gonna say y values and it's gonna show like a representation of the different line changes or the dot changes that i defined also inside of there.", 'start': 4539.506, 'duration': 10.228}, {'end': 4553.437, 'text': "and that's how you create a legend, and that sounds good.", 'start': 4549.734, 'duration': 3.703}, {'end': 4555.759, 'text': "let's run it and there you can see it showed up on the screen.", 'start': 4553.437, 'duration': 2.322}, {'end': 4557.04, 'text': "OK, so there's your plot.", 'start': 4556.179, 'duration': 0.861}, {'end': 4557.92, 'text': "There's your legend.", 'start': 4557.06, 'duration': 0.86}, {'end': 4561.443, 'text': "There's those individual dots that I talked about and so forth and so on.", 'start': 4557.96, 'duration': 3.483}], 'summary': 'Creating a legend and plotting data points on a graph.', 'duration': 21.937, 'max_score': 4539.506, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI4539506.jpg'}, {'end': 4650.957, 'src': 'heatmap', 'start': 4592.883, 'weight': 0, 'content': [{'end': 4594.864, 'text': 'Not doing very well here.', 'start': 4592.883, 'duration': 1.981}, {'end': 4596.304, 'text': "Let's just throw that in there.", 'start': 4595.184, 'duration': 1.12}, {'end': 4598.786, 'text': "And then I'm going to create a new window.", 'start': 4596.505, 'duration': 2.281}, {'end': 4601.327, 'text': 'And how I do that is go figure.', 'start': 4599.166, 'duration': 2.161}, {'end': 4604.451, 'text': "two. and then let's create a bar chart.", 'start': 4601.747, 'duration': 2.704}, {'end': 4613.522, 'text': "so it's just gonna be x values and y values and let's make the color of the bars red.", 'start': 4604.451, 'duration': 9.071}, {'end': 4616.085, 'text': 'and then is there anything else i want to do?', 'start': 4613.522, 'duration': 2.563}, {'end': 4617.246, 'text': 'not that i know of all, right.', 'start': 4616.085, 'duration': 1.161}, {'end': 4621.008, 'text': "so that looks good and let's run it and you're going to see they both show up.", 'start': 4617.246, 'duration': 3.762}, {'end': 4623.75, 'text': 'whoops, undefined function or variable line 19.', 'start': 4621.008, 'duration': 2.742}, {'end': 4624.79, 'text': 'what did i do?', 'start': 4623.75, 'duration': 1.04}, {'end': 4626.071, 'text': 'we can see the other one showed up.', 'start': 4624.79, 'duration': 1.281}, {'end': 4626.891, 'text': "there's figure two.", 'start': 4626.071, 'duration': 0.82}, {'end': 4629.552, 'text': "it's going to show up and it's going to be a bar chart here in a second.", 'start': 4626.891, 'duration': 2.661}, {'end': 4631.754, 'text': 'ah, this is y values.', 'start': 4629.552, 'duration': 2.202}, {'end': 4638.839, 'text': "so run, it looks like it worked and you're going to see that the first one showed up as well as the second one.", 'start': 4631.754, 'duration': 7.085}, {'end': 4640.422, 'text': 'okay, so cool stuff.', 'start': 4638.839, 'duration': 1.583}, {'end': 4642.725, 'text': 'hopefully you guys enjoyed this tutorial.', 'start': 4640.422, 'duration': 2.303}, {'end': 4650.957, 'text': 'i had to spend a lot of money making it, so hopefully people like it and watch it and like always, please leave your questions and comments below,', 'start': 4642.725, 'duration': 8.232}], 'summary': 'Creating a bar chart with x and y values, and red bars. multiple windows and a successful run.', 'duration': 38.871, 'max_score': 4592.883, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI4592883.jpg'}], 'start': 4218.297, 'title': 'Inheriting and extending shapes for trapezoids', 'summary': 'Discusses inheriting and extending properties and methods from the shape class to create a trapezoid class, demonstrating how to initialize, overload, and calculate area for trapezoids, with an example of creating and using a trapezoid object. it also includes a matlab plotting overview providing a brief overview of plotting inside matlab, covering the creation of windows, plotting points with custom styles, creating legends, and generating a bar chart, with examples of specific code and techniques.', 'chapters': [{'end': 4386.478, 'start': 4218.297, 'title': 'Inheriting and extending shapes for trapezoids', 'summary': 'Discusses inheriting and extending properties and methods from the shape class to create a trapezoid class, demonstrating how to initialize, overload, and calculate area for trapezoids, with an example of creating and using a trapezoid object.', 'duration': 168.181, 'highlights': ['Demonstrates inheriting properties and methods from the shape class to create a trapezoid class The chapter discusses inheriting properties and methods from the shape class to create a trapezoid class, showcasing the extension of properties and methods for working with trapezoids.', 'Illustrates overloading the display function to accommodate additional width for trapezoids The chapter illustrates overloading the display function to accommodate additional width for trapezoids, providing a practical example of modifying the display function to suit the requirements of trapezoids.', 'Explains the process of calculating the area for trapezoids The chapter explains the process of calculating the area for trapezoids, showcasing the modification of the area calculation to incorporate the specific properties of trapezoids.']}, {'end': 4652.079, 'start': 4386.838, 'title': 'Matlab plotting overview', 'summary': 'Provides a brief overview of plotting inside matlab, covering the creation of windows, plotting points with custom styles, creating legends, and generating a bar chart, with examples of specific code and techniques. it also offers to provide more content based on viewer feedback.', 'duration': 265.241, 'highlights': ['The chapter provides a brief overview of plotting inside MATLAB, covering the creation of windows, plotting points with custom styles, creating legends, and generating a bar chart. Covers the main content of the transcript, summarizing the key points and techniques discussed.', 'Examples include plotting points with specific styles such as green dotted lines with pluses at the points, changing line width and color, and using different plotting symbols and line types. Provides specific examples of plotting techniques and customization options, demonstrating various visual styles and effects.', 'Offers to provide more content on plotting based on viewer feedback, indicating a willingness to cover additional topics if requested. Shows a willingness to engage with viewers and tailor future content based on their preferences and needs.']}], 'duration': 433.782, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/NSSTkkKRabI/pics/NSSTkkKRabI4218297.jpg', 'highlights': ['Demonstrates inheriting properties and methods from the shape class to create a trapezoid class, showcasing the extension of properties and methods for working with trapezoids.', 'Explains the process of calculating the area for trapezoids, showcasing the modification of the area calculation to incorporate the specific properties of trapezoids.', 'Illustrates overloading the display function to accommodate additional width for trapezoids, providing a practical example of modifying the display function to suit the requirements of trapezoids.', 'The chapter provides a brief overview of plotting inside MATLAB, covering the creation of windows, plotting points with custom styles, creating legends, and generating a bar chart.', 'Examples include plotting points with specific styles such as green dotted lines with pluses at the points, changing line width and color, and using different plotting symbols and line types.', 'Offers to provide more content on plotting based on viewer feedback, indicating a willingness to cover additional topics if requested.']}], 'highlights': ['The tutorial condenses information from a 500-page book into one video, covering comprehensive MATLAB knowledge.', 'The video provides a transcript and cheat sheet for free, allowing viewers to access the content conveniently.', 'A table of contents is available in the video description, enabling viewers to navigate and focus on specific topics of interest.', 'The chapter covers obtaining user inputs, defining variables, data types, math operators, and conditionals.', 'The switch statement allows for checking a range of different values, like 6 through 13, and executing corresponding actions, simplifying the code structure and improving readability.', 'Covers vector multiplication, dot product, cross product, linearly spaced vectors, logarithmically spaced vectors, matrix creation, random matrix generation, value manipulation, accessing matrix information, looping with for and while loops, and using break and continue statements.', 'The chapter covers advanced matrix functions in MATLAB, including matrix operations, logical operations, cumulative sum and product, flipping, rotating, reshaping, and duplicating matrices, as well as an introduction to cell arrays.', 'The process of creating a struct in programming involves defining a custom data type with related fields, such as name and age, and accessing data within the struct.', 'The concept of defining functions and local variables in Python is explained, including creating functions with and without arguments, and demonstrating the difference between global and local variables.', 'Classes model real-world objects by storing attributes as properties and modeling capabilities using methods.', 'Demonstrates inheriting properties and methods from the shape class to create a trapezoid class, showcasing the extension of properties and methods for working with trapezoids.', 'The chapter provides a brief overview of plotting inside MATLAB, covering the creation of windows, plotting points with custom styles, creating legends, and generating a bar chart.']}