MATLAB for New Users

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
thank you for attending this webinar on MATLAB for new users my name is Adam barber and I'm an application engineer at the MathWorks today we're going to be providing you with an introduction to MATLAB as well as a demonstration on a typical data analysis routine that someone might do with MATLAB at the end of that we're going to be creating two deliverables one is a report like this where I have included some information about my problem some MATLAB code that I've used some outputs that I've created any visualizations that we've created and any other analysis that I might want to include in a report additionally we're going to be creating an application this is an interactive interface where the user can select specific data that they might want to work with and perform the same kind of analysis that we've already developed in this way we provide an interactive approach for either myself or one of my colleagues or a client to work through or learn from the same data if you're new to MATLAB your first question might even be what is MATLAB Madeleine is a high-level programming language additionally it is a platform that includes an interactive development environment which provides many tools which make programming in MATLAB very easy to do MATLAB is primarily used for numerical computation data analysis and visualization as well as algorithm development and deployment these are just a couple of the examples where we see MATLAB used very heavily and there are many many others as we go through our demonstration today what we'll see are a couple of the features of the MATLAB language some tools in the development environment that make working in maladies e're as well as some of the different ways they might use MATLAB for these different use cases Before we jump into that demo I want to discuss a typical workflow that we see customers using we call this the technical computing workflow and we see this as a very general data analysis workflow that many people are following even if they don't realize it the first thing that we have to do is get access to our data now our data can come from files it can come from software like a database or the internet it can also come directly from Hardware whether that's an oscilloscope or a low-cost hardware device like an Arduino once we have that data we need to learn something from it here we're calling this exploring discover because this is typically how people learn from their data they might explore it by doing things like creating visualizations or computing some statistical analysis they might discover things by developing algorithms or putting together applications once we've learned something it's at this point where we might create a deliverable we might share it this is how we generate value from our work we can create something like a report like the one I just showed you or an application now those are just two examples there are many different ways I might share what I learn now for many of us this is not a linear workflow as I've laid it out here often we'll be bouncing and forth between these different components we'll pull in some data we'll realize that maybe there's something missing once we start our analysis and we'll have to go back to our data source maybe collect some more data or potentially I create that report and I send it off to a supervisor or colleague and they say well you have have you thought about this question and that leads to new discoveries new questions this is not this linear process it's much more iterative our goal here and my goal whenever I work in MATLAB business is to facilitate this by automating as much of this workflow as I can what I really mean is that I want to automate the individual components and we're going to automate them in such a way that anytime we need to make a change we can pull out that one specific piece modify it and then plug it back in and our workflow still works of course we're going to do all of this automation with MATLAB we're going to walk through this workflow with a demo we're going to be looking at the miles per gallon our card gets as it relates to horsepower and the kind of vehicle that we're working with now the approach we're going to take is going to be a very general approach most of you are likely not studying the relationship between horsepower and the fuel economy of a car what you'll find though is the process that we take today is going to be the same process that you'll take when you have your own problem as we walk through this demo today what I'd like you to do is think about how your problem maps on to the same steps that we're taking and you'll find that the approaches are likely very similar for example today we're going to be pulling our data from Excel files which I imagine many of you have will be visualizing our data and exploring trends from there we'll be creating a model hopefully so that we can do prediction and once we've done all that we're going to document our results into a PDF that we can share with other people as well as developing an application so keep in mind your specific problem and how the pieces that we're doing relate even if you're not studying fuel economy with that let's jump over to MATLAB so those of you who have never seen it before this is MATLAB I'm using release 2016 be the man lab desktop comes with a number of different components the first one that I'd like to highlight is the command window and this is a way that I can talk to MATLAB now I can use this to do simple computations computation that I might expect from a graphing calculator the real power for me though comes from the fact that I can store any results that I create into variables or name containers to be used again later once I have these variables I can do operations on them MATLAB stands for matrix laboratory every variable that I create MATLAB is a matrix it does not just have to be one number it can be rows and columns of numbers once I have that created I can do the same kinds of operations on a matrix or vector that I can on anything else you may have noticed that as I was typing my workspace became populated the workspace shows me all the variables that I've created as well as their values and I can have it display other things as well down here I have my current folder browser this shows me all of the files and folders available to me in my current working directory at the top I have the tool strip now the tool strip brings to the forefront a number of different features that might be useful to me and we'll be using a number of these as we go along before we bring in our data I'm going to clean up a little bit let's think back to that workflow we discussed we know that we want to study some fuel data now the first thing that I need to do is bring that data into MATLAB well let's take a look at our data I have a folder with data from the year 2000 to the year 2012 on fuel economy let's open up one of these in Excel what I see here is a lot of information I have things like the year the manufacturer the kind of car it is whether it's a car or truck what the engine displacement is is it a police car what's the rated horsepower what kind of transmission does it have is it front wheel rear-wheel all-wheel drive there's a lot of information here that I don't necessarily need now there's also some information that I do know I want for example I already told you that we want to study the relationship between miles per gallon and rated horsepower what we're seeing is a problem that I see all the time where people have some data but it's cluttered by other things so they might only need a few specific things so let's go ahead and look at how we can bring this data into MATLAB remember that tool strip we were just looking at well you may have noticed this import data button now this brings up the import tool the import tool is going to allow us to interactively determine how we want to bring our data into MATLAB one of the things you'll see is you work with MATLAB more and more there's often multiple different ways to do things we might be able to write some code to do something or we might be able to use an interactive tool to take advantage of that today I'm going to be highlighting a little bit of both so let's start bringing some data in so we can look at it I'll bring in data from the year 2004 what we see when I open up the import tool is sort of the same thing that we saw on Excel it gives me a preview of all of the different data that that I used now I already know that I might only want some of these values so maybe I'll look at the year and whether it's a car or truck as well as the rated horsepower and there are a few other things I want to know this first row this row gives me the names of the variables that I'm going to use so I don't need to import that as well and with that I'm going to hit this check mark and MATLAB is telling me that it imported these variables for me and I can see those values in my workspace whenever I get my hands on some data the first thing I want to do is visualize it make sure that it makes sense so to do that lets try this plots tab and when I go here MATLAB is saying hey select a variable to plot this is one instance of MATLAB trying to help me be better at MATLAB so I'm going to select rated horsepower and miles per gallon from here MATLAB shows me some of the possible ways that I might want to visualize my data now if I wanted to see all the possibilities well I can hit this drop down and see the different options that it provides for me for now I'm going to do a simple scatter plot and already I've gone from having nothing to importing my data to having a visualization and I can start to look and see if my visualization makes sense there's something I skipped though let's go back to the import tool one of the things I said at the beginning was that whenever I work in MATLAB I want to automate everything I did and the import tool provides a really convenient way for me to work with my data and to figure out how I want to bring my data in but one of the things it is not at least the way I've used it so far is automated I've already configured how I want to bring my data in every time I bring my data in I don't want to have to go through these same steps what I'm going to do is take advantage of the import tool when I hit this drop down MATLAB gives me two options I can generate a script or I can generate a function just are I'm going to generate a script now this script I'll save it this group provides me an automated way to reproduce the same work that I just did so if I clear my commands and clear my workspace as if I had just started up MATLAB I can go back to my script run it and get back the exact same variables that I had before in this way I've started to automate the process of bringing my data into MATLAB there's a couple of things I don't particularly like about the way that this is done so far I already told you that I have data from a number of different years however if I look at how my data is being imported the year 2004 is hard-coded into this script now if I wanted to load in data from a different year well I could always come in here and change all of these lines but that's not a very automated way of doing things so that's one thing I don't like about the way that I'm currently bringing in my data the other is that with the data that I'm working with each row of that Excel document corresponds to one car one thing I might want to do is look at well what is the third row of my data look like now if I wanted to do this right now well I can look at miles per gallon what's the third element I can look at my rated horsepower what's the third element oh and what year was I looking at oh and I can't remember was this a car or is this a truck well I can look at all of these and see that but since my data is tabular in the sense that it looks like a table and I have different columns that have different kinds of data some of my data is numbers some it is characters then now that provides a more convenient datatype for working with these so once again I'm going to clear my commands and clear my workspace and instead of bringing this in as column vectors I'm going to bring this in as a table and instead of generating generating a script I'm going to generate a function now a function is a lot like a script in the sense that both of them are files that contain a series of MATLAB commands the difference is that a function is going to take in some inputs in this case it takes in a workbook file as well as optional arguments of the sheet name the start row and the end row the function is also going to return to me some outputs in this case it gives me back that table you now I have a table that I can work with let's look at our data now I can view my data in the variable browser or if I wanted to go back and look at that third row well I can look at my third row and let's say I want to look at whether it's a car or truck and the miles per gallon tables also provide ways to look at nice summary statistics so this tells me well for my year all of my values are 2004 my rated horsepower well my mean my median rated horsepower is 210 and I range between 65 and 605 4 miles per gallon I can get a sense of what those high-level statistics are as well additionally with my table I can plot my variables just like we did before so now I can select rated horsepower and miles per gallon as columns go back to my plots tab and I'm going to recreate that scatterplot that I had before MATLAB is echoing the command that it used to create the visualization to the command line MATLAB is trying to teach me how it's doing things so that I can learn from them and use MATLAB more effectively in the future so here I have my scatterplot and what we're looking at is a relationship between miles per gallon on the y axis and rated horsepower on the horizontal axis but we only know that because we created the figure ourselves I want to think ahead though to where I'm going to have to share this and in order to share this I want to make sure that whoever is looking at it understands what's going on and so I might want to add some things like labels or a title to my figure to make it more clear what's happening again there's a number of different ways I can do this I could write some MATLAB code to do this or I can take an interactive approach today I'm going to show you the interactive method and we're going to be using the plot tools which is this button right here now that I'm in plot tools I can begin to customize my figure any way that I want so let's say that I wanted to add some labels well now I can say that our x-axis is rated horsepower and our y-axis says miles per gallon and here we're looking at fuel economy now there's a number of things I might want to change let's say I would rather have dot markers so what I have here is a figure that I've customized that looks the way that I want if you were doing this yourself you might want to make some different customizations and you're free to do that the creation of this figure though was not exactly automated now it allows me to interactively customize it exactly the way that I want but if I'm going to generate one of these figures for every one of those data files that I have or maybe this is something I want to create a multiple times I want to have an automated method for doing this now just like the import tool I can have MATLAB generate code for me now this generated code again I can use in a number of ways I can use it purely as an automation tool I can use it as a way to learn how to write MATLAB code or I can use it as a base to build on the code that I generate is code that I can modify so I can generate some MATLAB code make some tweaks to it if I want and use that again later to generate code from a figure I can just go to the file menu and select generate code here MATLAB is going to create a function for me let's go ahead and use our new function you and I get the exact same figure that I had before at this point we've done a fair amount of work we've imported our data we have looked at some summary statistics and we've also started visualizing our data it's at this point I want to start collecting all the work we've done into a script so that I can keep track of everything that we have and keep it in an automated fashion as I've been working MATLAB has been keeping track of everything that I've done in a command history here I can select different lines that I might want to keep and I'm going to create a live script now a live script is a lot like a script in MATLAB the difference is that as I'm working with my code I can start to include formatting that I might want to have in my final document and any output I create are going to be captured directly in my document so here I have one environment that I'm working in where I have the advantages of a script with all of my code contained as well as the advantages of working at the command line where I can see my results immediately as an example let's run this section so MATLAB shows me which line is executing and it keeps my output right here the figures I create in my live script I can still interact with them I can zoom in on a specific area and now that even gives me the code that I need if I want to update my code to include that now I don't really want that so I'm going to go ahead and delete it one of the things that's really important to do when you're working with any kind of programming language is to comment your code I know that I have this problem with memory where I might be working on something and if I don't remember to document it correctly well good luck now if I wanted to add a comment in either a live script or a MATLAB script I can use the percent sign in the live script I can also switch between code and text and I can take advantage of pre formatted text you now once I've imported my data I'm going to introduce a section break now the section break lets me work on different pieces of my code at the same time and this allows me to only execute specific portions of what I'm doing once I have my code imported well every time I want to go and work on my visualization I don't necessarily want to re-import my data that's wasted effort and if I have really large data files or I'm importing a lot of data well this can be time-consuming this allows me to focus on the piece of my code that I want to work on so here this section is going to import my data and this section is going to do some basic visualization so I'm going to include some comments for that as well you you let's look at this figure one more time what we see here is something that we might expect as we increase the horsepower of our vehicle the fuel efficiency goes down and as we lower the horsepower of Eagle our fuel economy goes up the other thing we might notice is that there's a fair amount of variance let's say we look at the 200 horsepower line here what we see is that the fuel economy can range from somewhere around 15 miles per gallon to over 40 now that's a pretty hefty amount of variance so maybe there's some other things that we need to take into account well one of the things that we know is that we have two different things that we might be looking at well one is whether we're looking at fuel efficiency on the city or in the highway on the highway where cars don't have to stop and start as much we expect the fuel efficiency to be much higher similarly we have some cars and we have some trucks and in general we expect the trucks to have worse fuel efficiency so one thing we might want to do is split our data up based on this I'm going to look at our data one more time when I look at this column on car or truck and this column on city or highway what I see is that there's really only two values that these things can take into account I don't necessarily need to know for each car that the value is ciear I just need to know that there are two options I have car and I have truck the same is true for city or highway I don't need to know that for this car it was hig Hwa why I just need to know that there are two options one of which I'm going to call City and the other I'm going to call highway in MATLAB we have a datatype for this it's called a categorical to do this I can just select my column right click and convert to categorical array and there are a couple of advantages that come with this one is this leads to reduced memory usage for my data MATLAB has to store less information about these two columns to give me the same amount of useful information it also is going to make it easier for me to pick and choose which category different parts of my data are in and once again mallet has conveniently included for me the commands that it used to do those steps so once again I'll go to my command history I'll select those two lines copy them and I'm going to insert them in my live script that I'm building up I'm going to make this a new section and in here I'm going to add some text now that I have these categories I can use these to split my data up so one thing I might want to do is only look at data where I have a car and it's driving on the highway or I might want to look at a situation where I have a truck driving in the city if I'm coming from another programming language I might be familiar with the concept of a for loop and maybe I'm thinking that I can loop over every element of my data and look at whether it's a car or it's a truck and assign it into a new variable in that lab since everything is a matrix we have a very convenient tool for doing these kinds of slicing and splitting up data it's called logical indexing and I'll show you guys how to do this with a quick example and then we'll jump back to our data and use it there a new variable that has the numbers one through nine in a random permutation now let's say I only want the values where my category is greater than five now one of the things you might say is that you know Adam this looks pretty simple I could have just told you that 6 & 7 & 8 & 9 are greater than 5 and you could go in and select those and that's true when I only have 9 options that's very easy to do in our case we have almost 3000 elements now that's not a lot of data for most people but to go through and pick and choose which ones are there that would be pretty tedious and remember our whole goal is automating when I introduced this command X greater than 5 MATLAB creates something called a logical array and we call it a logical array because it gives me a 1 everywhere that my logical statement is true and 0 everywhere that it's false and I can think of this as a mask that I'm going to apply to my vector or my matrix so if I say give me X everywhere where X is greater than 5 then it gives me back just those values and I can manipulate these values directly so anytime that I can reduce the way that I want to split my data up into a true or a false well then I can use logical indexing let's see how we can apply this to our problem to save some time I'm going to jump over to a premade version of this script you this version of the script is slightly different but it's doing a lot of the same kinds of things the first thing I need to do just as before is import my data once that data is imported I'm going to do the same summary statistics I was looking at before and create a very similar visualization to look at how horsepower and miles per gallon are related this section is doing that next step where the first thing I'm doing is creating those categories car and truck City and highway and now I'm going to create groupings based on whether it's car whether it's a truck whether it's the city whether it's the highway this first line here this is going to tell me whether the vehicle I'm looking at is a car or a truck so this vector will contain a 1 everywhere that it's a car and a zero everywhere it's a truck and I can use this to index into any of my variables and only get the data for when I have a car I can use logical statements to construct slightly more complex statements here I'm looking at the places where I was driving in the city and it was a truck and get data just for those and once I do that I can start looking at things like distributions for different groups so here I'm taking advantage of some functions from the statistics and machine learning toolbox and I can look at probability distributions based on whether it's the city or the highway my city fuel efficiency is generally lower than on highway fuel efficiency and that makes sense using these splits I can do some other kinds of visualizations maybe group scatterplot where I'm looking at a scatterplot with different groupings whether it's a car in the city or a car on the highway I can also look at things like group statistics so maybe I want to look at the mean for different groups and to truly tell whether or not my groupings are significant I can do an analysis of variance now let's say that I didn't know how to do this well there's a couple of things I can do and this is a question we get all the time what happens if I want to do something in MATLAB but I don't know how to do it the first place I would recommend you go is our documentation I think our documentation is fantastic we spend a lot of effort to make sure it's as useful as it can be you can search directly within the product or use your favorite search engine now what I see here are a lot of results but I can filter this down so for example I know that I'm interested in a function and beyond that I'm interested in the function from the statistics and machine learning toolbox and I am interested in ANOVA and so here I can start looking at these ten results I have so here this function is for multivariate analysis of variance or maybe repeated-measures analysis of variance for now I'm interested in anyway analysis of variance so I can jump into this documentation page now if you've never used our documentation all the pages are laid out in the same general manner we have the function name at the top a brief description the syntax how to use the function a more detailed description of those different syntaxes and then if you're anything like me you jump straight to the examples for me the examples in the documentation are the most useful part because this is where I can look at how MATLAB experts think the best way to use a function is all of the examples that we provide can be run directly within matlab if you want to see how they work based on these examples I developed the code that we have here to look at the analysis of variance in this case we can look at our p values and see that they're really really small either effectively 0 or 0 and this gives us a good indication that these variables are important significantly another visualization I might be interested in is a box plot this gives me a lot of information very quickly about my different groupings I can see things like outliers and at this point I feel like I can start to develop a model to do that I'm going to take advantage of an app in MATLAB before I do that I'm going to extract some of my data if you've never used an app in MATLAB apps or interactive tools that make it very easy to perform specific tasks now we provide a number of apps with our toolboxes and the one I'm going to show you is one such app you can create your own we'll spend a little bit of time on that later and you can also download user creator ones from the MATLAB central file exchange if you ever want to have access to other apps I highly encourage you to look at the add-ons Explorer you today I'm going to use the curve fitting tool the first thing I need to do is specify the data that I'm going to use by default it fits a polynomial now linear fit doesn't seem to do a great job one thing I could do is just try increasing the degree now this generally isn't a great idea and in this case doesn't even give me that great a fit so maybe polynomial is not the way to go if I was interested in trying a rational function I can do that and I can change my degree I'm going to try a power loss and we'll add a linear term for this data power law doesn't do a great job but I think it's a good enough approximation for now again I can use this app to generate MATLAB code for me so all of the work that I've done in this app I can take advantage of in an automated fashion over and over again if I go back to my script this create mpg fit function well this is a function that I created from the curve fitting tool and we see the same fit that we had before this time on the entire data set the result that I get from the kerfing toolbox is an object that contains in it a number of different things including a plot function that allows me to display graphically it also allows me to do things like create prediction intervals and that's what I see here the final thing I might want to do is look at the data from my different groupings what happens if I have a car in the city or a truck on the highway I can create four different plots that create that fit for those different values and I can see what the different coefficients are in those different cases at this point I'm going to say that I'm done with my analysis and if you remember we have two deliverables that we want to create the first one is that report as we've been going through this this live script we've been putting a fair amount of effort into making it look the way we want and now I can export this directly as a PDF or an HTML document the PDF that I create looks just like the live script I was just working with it contains all those same comments all the visualizations we created everything is contained in here now the other deliverable we wanted to create was an interactive user interface that takes advantage of some of the work we've already done the easiest way to create a user interface in MATLAB or an app is on the Home tab this new drop-down and then app and we have two options here app designer is our new method of building apps it has some modern user interface elements and is very easy to use guide our graphical user interface development environment is fully backwards compatible has full 2d and 3d graphic support and is the method that we've recommended in the past you can choose whichever one you'd like at this point I'm going to show you a when I open up app designer the first thing I see is a blank canvas in front of me and this is where I can make my app look at the way that I want on the Left I have my component library or I can look at all the different things that I can put on my app one of the things that you'll see an app designer are these new instrumentation gauges and modern UI elements like a lamp or switch or toggle switch to start I'm going to use something relatively basic I'm going to add an axis and a button now my button I'll say plot on the right here I can modify any property I want about the way that it looks maybe I'll make the font bigger and I'll change it to blue I can do the same thing with my axes I can change things about it like the title label on the why label and in doing so I can add any components I want I can modify them in any way that I need and make my app look the way that I want the question you may be asking is how do I make the app do what I want the way that we make an app do what we want is through the use of something called a callback a callback is just like the other functions that we've seen but in this case it's going to be a function that executes whenever a certain event happens so I'm going to select my button right click look at callbacks and I can add a callback so whenever my button is pushed and now this jumps me into the other view of app designer I have my design view where I can lay out my app and then my code view now I'll notice that a lot of this code is grayed out this is structural code that mallet has created for me that I don't need to worry about it's there if I want to see how it's done but it's structural code that lays out my app that I need and contains any other information and then this white section this is code that I can edit this is where I can tell my app what to do when my button is pushed as a simple example I can plot onto my axes some data I can go ahead and run this push my button and I get my data plotted on my app now this app isn't particularly useful it just plots some data to it the key here is that in this section in my callbacks I can include any MATLAB code that I want so usually what I'll do is prototype some code either in a script or some functions and then I'll take that code and put it into one of these apps and that's exactly what I did in the app that I showed you earlier this app is at the end of the day the same thing that I just showed you it has some more components so I can select a year decide which kind of data I want to do and then I can plot it it's the same UI components and some callbacks added on to it and it takes advantage of work that we've already done now this app I can share with other people who have MATLAB there's a couple of ways I can do this if I remember all the different files that I use well I can copy them into a folder and send it over to that person we provide an easier way though on the apps tab I can package my app directly this package app allows me to conveniently packaged up all the different components of my application so I can provide my main file and MATLAB is going to automatically do a dependency analysis and figure out which files it used so it sees that it used these functions and it automatically pulls those in so I don't need to worry about which files I include in which files I don't additionally if I want to include other data files or helpful files I can include those I can package my app and this creates for me this dot ml app install file and this is the only file that I need to give to somebody who is MATLAB my end user does need to have MATLAB and that's not always the case so you may be asking well can I share this with somebody who does not have my lab and the answer is yes do the mounted compiler we can create an executable that we can share with anybody whether they have MATLAB or not the MATLAB compiler comes with an app it's called the application compiler just like the at packager I can decide to include my main file and then MATLAB will figure out which files I need for my application to run and it will include those here now I'm not going to package this right now because it does take a couple of minutes but this will create for me an executable that I can run whether or not I have MATLAB running so I did this earlier and I can run the executable that I had from before so the first thing it's asking me is for data I'll go ahead and select that folder you'll see that the app looks exactly as it did when I ran it in MATLAB I can even close MATLAB and my app still runs and here I can go ahead and plot and perform the exact same analysis that I had when I was running this in MATLAB this executable that I've created I can share with anybody to briefly summarize what we did we pulled in some data from excel files we automated that process we did some exploratory work we looked at different kinds of visualizations looked at different groupings of our data in terms of deliverables we created a PDF document that we can share to show what we did and we created an application so that other people can interact with our data and our analysis directly in doing so we used MATLAB the statistics and machine learning toolbox the curve fitting toolbox and we use the MATLAB compiler to create an executable that we can share with anyone with that I'd like to add some additional information you may be interested in today we pulled our data in from excel files I really want to highlight that there's a lot of different places that you can get your data from and MATLAB can help you do that whether you're pulling your data from the web from other applications from databases or from measurement hardware we have tools that can help you bring that in in many of these cases we have apps just like the import tool that help you do that easier today we barely scratch the surface of the different tools that MATLAB has for manipulating and managing data or math and engineering functions we have a number of different visualizations that we didn't have time to show you today as well as lots of different ways to annotate or customize your graphics the math works also provides add-on tools for specific domains whether you're working in optimization or control system design whether you want to take advantage of additional hardware with parallel computing we also work with a number of different companies to provide interfaces for other products we also provide a number of different ways for you to share so today we talked about generating reports by saving a live script we can also publish MATLAB scripts and create very similar looking documents if you really want to customize your reports or have standardized templates that you want to fill in over and over and over again we have the MATLAB report generator that can help you do that we also have different tools for working with apps you can package your work as an app or create applications to deploy them to other environments the MATLAB app that we created you can create them in such a way that they're displayed in the apps gallery and many of our MATLAB products come with them as well I want to talk a little bit more about the process of sharing stand-alone application so let's say you're the application author well you have MATLAB and some toolboxes and you create a mount line up the keishon out of that now you want to share that with some colleagues or client who doesn't have MATLAB well you can take advantage of the MATLAB compiler which provides you with a couple of different options one is to create a standalone application that's what we did earlier today when you do that you'll be giving it to your end-user and they'll install alongside it something called the MATLAB runtime this is a library that your MATLAB executable runs against this library is free and anything that you create with our tools is royalty-free we have the MATLAB compiler which I've just talked about as well as the mallet compiler SDK this allows you to create libraries for integrating in other environments if you're looking for production deployment for an enterprise we also have the MATLAB production server one of the most common questions I get is what do I do if I need help well we talked about the documentation earlier but you may not be aware that there are other resources available to you one is our support website the support website will bring you to a number of different links for self-serve help like documentation our community knowledge base where you can ask questions and have MATLAB users answer as well as our dedicated support engineers we also provide training you can access your training directly through MATLAB with MATLAB Academy which provides you a way to learn from Mount eleven experts there are many different options whether you'd rather work self-paced instructor-led or have customized curriculum on site one of the training courses I like to highlight is MATLAB fundamentals a lot of the things that we covered today are covered in that fundamentals training now I gave you a broad sense of the kinds of things that you can do with MATLAB but after this course you'll be able to do that if you're interested in training you can get started today from that same link as before to MATLAB Academy we have something called MATLAB on-ramp which has two hours of introductory material and it's totally free the other place to get help is through MATLAB central MATLAB central is our community site here you can find them at lab central file exchange where users upload functions examples apps Simulink models for anybody to use as well as MATLAB answers a MATLAB user only place to ask questions about best practices or how to's we also have blogs written by different employees from the math works that provide commentary and help as well as ideas on different things that you can do with MATLAB with that I'd like to summarize everything we've talked about today mat land is a high-level language it provides native support for vector and matrix operations this makes it a very convenient environment for performing math and data analysis routines the development environment provides a number of different tools to help you get up and running quickly MATLAB is also more than just a language and an environment it's a platform for doing for doing technical computing we provide a number of different add-on products for wide range of application areas there's a lot of things that you can do with MATLAB beyond just what we talked about today with that I'd like to thank you for your time and thank you for attending this webinar
Info
Channel: MATLAB
Views: 68,482
Rating: 4.9450803 out of 5
Keywords: MATLAB, Simulink, MathWorks
Id: Nw7r4i6Ixio
Channel Id: undefined
Length: 52min 19sec (3139 seconds)
Published: Tue Apr 11 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.