Doug's MATLAB Video Tutorials
October 19th, 2011
Tutorial: How to make a custom data tip in MATLAB
If you use the standard data tip in MATLAB, it will annotate the X and Y value of a data point. This video will show how to customize the information that is shown in that data tip.
14:39 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
3 Comments »
October 7th, 2011
Managing subplot layouts in MATLAB
Many people use subplot to layout axes, but do not know there is a second way of using it so that all the axes can be sized differently. Also, a method for having a common x-axis is shown.
15:58 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
2 Comments »
September 28th, 2011
Students: Make money off Simulink projects
Last week I spoke about my student journey to MATLAB. This week, Seth’s blog is offering up a contest to students who use Simulink. You should check it out.
15:14 UTC |
Posted in Topic: Off Topic, Topic: Puzzler |
Permalink |
No Comments »
September 23rd, 2011
My path to MATLAB
With September comes a new batch of students and new MATLAB users. Many of the bloggers here are talking about how they came to MATLAB and the academic path that got them here.
Without a doubt, the most important skill set I learned in college and grad school was how to program in MATLAB. It kept me in beer as and undergraduate, royalty checks in grad school, and pays the bills today. I probably could not “mechanical engineer” myself out of a wet paper sack at this point, but engineering school did refine my ability to take complicated tasks and break them down to simpler pieces that can be understood. I often say that my inability to understand complicated systems is a great advantage, because it forces me to break down the problem into manageable pieces. Much of what I do at MathWorks is simplify user problems until the problem and solution are obvious.
My journey to MATLAB really started around 1984, while Jack was busily starting The MathWorks, I was a completely dorky 4th grader attending “Windmills computer day camp” at the local community college. Someone had wrangled up the local school’s Apple IIe machines that were sitting idle all summer. They put together a little BASIC programming curriculum and I loved it. I came back for several years, until I ended up as a counselor in the program. This is the first time I really considered it, but I am doing that same job today! I teach people how to program and debug.
My Junior year in high school, my parents got me an electronic typewriter for Christmas. I told them to return it, because the high school had just gotten these new things called PC’s. They were way better, I would just use them. Much to my surprise, they were willing to put up the money for a real computer! I programmed my little heart out, making some really terrible games in BASIC. I found a BASIC manual, but was afraid to use this “new” command GOSUB which called subfunctions. Clearly I had an underdeveloped sense of adventure at that point. With no one to show me any better, I stuck with scripts (spaghetti code) until college.
In college, I wanted to solve this problem recreationaly. I tried using this MATLAB thing because I heard it was the way to multiply large matricies. On Unix at the time, there was no desktop, no apparent way to get started, just a blinking cursor:
>>|
It took me a while to figure out my first MATLAB command:
>> man
Undefined function or variable 'man'.
>> stop
Undefined function or variable 'stop'.
>> quit
I finally took a real MATLAB programming class, recently converted from being a FORTRAN class. This MATLAB stuff was just like BASIC! I already know most of this stuff. Awesome! This is when I entered the “Larval stage“. I volunteered in the computer lab almost entirely so I would have 24-7 access to MATLAB. Again, working in a capacity to help people program- the pattern continues!
Exiting the larval stage, I was a “L33t MATLAB hax0r”. The real coup though was when a professor pulled me into his office and personally asked me to drop his class because he hated failing students. I dropped the class. A year later, through sheer chutzpa (and possibly giving the publisher the false impression that I was a professor) I got a contract to write this book. Best part, all the topics were pulled from that class that I was asked to drop!
From there, a terrible graduate school experience convinced me that becoming a professor was not for me. I took a terminal masters instead of the PhD. I had all but accepted a position at a defense contractor, but applied at MathWorks as a way to negotiate a higher starting salary and get a free trip to Boston. When I sat in the MathWorks lobby that morning and watched two people hold the doors open so that a guy on a bike could ride right through the lobby to his office, I knew this was the kind of place I needed to be. The defense contractor suddenly became the offer to use to boost the starting salary of MathWorks! We all know how this story ends.
What I thought I wanted from being a professor was an environment with a lot of freedom, smart colleagues doing interesting things, the opportunity to teach simple things well, and to allow my eccentric nature to flourish. I found that here at MathWorks. I feel like a professor with all day “office hours”, answering MATLAB questions that get past our front line technical support.
If you think the next step on your MATLAB journey is here at MathWorks. Find a job you like, send me the job number and tell me a little something about your MATLAB skills. Maybe your MATLAB Answers reputation, or File Exchange submission. If I like it, I will put the resume in myself!
14:28 UTC |
Posted in Topic: Off Topic, Topic: Philosophy |
Permalink |
No Comments »
September 20th, 2011
Managing code in MATLAB: Nested sub functions
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
This MATLAB video shows how to implement nested sub functions in MATLAB.
14:23 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
No Comments »
September 9th, 2011
Managing code in MATLAB: Sub functions
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
This MATLAB tutorial video will show you how to make subfunctions in MATLAB. This allows you to have functions that are available only to other functions in the same file. This is ideal when you have subroutines that are only likely to be useful to the other functions in that file.
16:28 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
1 Comment »
August 26th, 2011
Managing code in MATLAB: Driver scripts
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
This video shows you how to make a driver script in MATLAB. These are well suited for when you need to test a function in MATLAB and want to do it easily, setting up inputs and the rest of the environment.
17:11 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
No Comments »
August 19th, 2011
Managing code in MATLAB: Cell mode interactive
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
The MATLAB tutorial video shows you how to tune parameters interactively in a MATLAB “workbook” or “worksheet”.
13:43 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
No Comments »
August 11th, 2011
Managing code in MATLAB: Cell mode publishing
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
This MATLAB tutorial will show you how to make simple automatic reports in MATLAB with cell mode. It is a way of getting MATLAB worksheets or MATLAB workbooks.
18:45 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
No Comments »
July 26th, 2011
Managing code in MATLAB: Cell mode scripts
This is the first series of MATLAB video tutorials that are an attempt to systematically make videos for a “technology trees” for using MATLAB. This first tree covers the various kinds of MATLAB files you might write. The tree shows you the order you should watch them because some rely on skills you need to learn from earlier videos, but some do not.
Cell mode scripts are a way to make something like a “MATLAB workbook”. They can be used to make easily published documents (upcoming video), allows you to break your scripts into smaller chunks that can be run individually, and allow you to iterate on a section of code while changing a scalar (upcoming video again!). This last method allows you to tune a constant very easily.
13:19 UTC |
Posted in Format: Video, Level: Basic |
Permalink |
3 Comments »
|
Recent Comments