Welcome to the lesson on objects as it pertains to object oriented programming in MATLAB. As you already know, with object oriented design your data is represented using objects and these objects not only contain the structure of your data, but they also contain functions that will allow you to perform operations on your data. One of the more dynamic features of MATLAB is that it allows you to use objects whether you're using object oriented design, or not. Meaning that you can create objects for your data and use them with ordinary functions. Another thing to note here is that with MATLAB the MATLAB array is the sole type of object. However, the functionality of this object varies depending on the class. And so what I mean by that is with each object, you have a data class. Now it can be a custom class, or it can be a built in class or one of the fundamental classes in MATLAB. Now, of course, with your data the type of object will match. And so if you have a a structure that contains solely strings or characters, then the data type for that object will be a char or a string. And the same goes if you're working with unsigned integers or signed integers and if you're working with floating point numbers with either single or double precision. And so for an example I'm just going to create a few different types of MATLAB arrays and I'm going to highlight how they differ. So the first thing I'm gonna do here is create a couple of variables and set them equal to different things. So the first I'll just do A equals eight. For the next one I'll do B is equal to text. For C, I'll do C is equal to letters. And if you notice here, text is using double quotes and letters is using single quotes. So the first one is a string and then the next one is a char array. And once again, all of these are MATLAB objects or object arrays. And so they are all MATLAB objects or rather MATLAB arrays but they have different classes. And so I'm just going to show the class for each one. A is a double, B is a string, C is a char or character. So if you recall, from earlier in this lesson, I said, even though all objects in MATLAB are technically MATLAB arrays their behavior will vary based on the class or the type of MATLAB array they are. And so to demonstrate this I'm just going to show you a few examples of how something as simple as the plus operator will result in different outcomes based on the data type. And so first I'm simply going to do a plus B and what you get here is a string that is a text. And so any operation involving a string and the plus operator will result in a conation of the number or the text into a single string. And so to demonstrate that again, I'm going to do B plus C and now you get text letters. And once again, it is double quotes because it's a string. However, if I were to do A plus A gives me 16, because eight plus a is 16. And so the behavior or the functionality of the operator is dependent on the class of the MATLAB array or the object that you're working with. And another thing to keep in mind is that when you do something such as a plus C what you end up getting is a series of numbers, and these numbers actually represent the decimal representation of the ASCII value of these letters in the variable C. So for lowercase L, the ASCII value is 108. And so when you add eight to 108 you get 116 and then so on and so forth. So to ask you value for a lowercase, E is 101. And when you add eight to that, you get 109. And so that's what these numbers represent. And so once again, if you notice, when you add a character to a numeric value, it uses the ask you representation. Whereas when you try to add a string to a numerical value it converts the numerical value to a string and then it combines that character with the rest of the characters in your string. And then if you're working with strictly numerics it performs a simple math operation of addition. So this concludes this lesson. Thank you.