MATLAB onramp 2020: coding, concepts, confidence, and style
4.6 (596 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,896 students enrolled

MATLAB onramp 2020: coding, concepts, confidence, and style

Learn the key MATLAB programming skills that separate experts from novices: debugging, functions, and visualization
4.6 (596 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,896 students enrolled
Created by Mike X Cohen
Last updated 8/2020
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 10.5 hours on-demand video
  • 9 articles
  • 8 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Introduction to MATLAB
  • How to write scripts and functions
  • Visualize data in 2D and 3D
  • Control statements
  • Develop your programming style
  • Think like a programmer
  • Find and fix bugs!
  • Learn the most common coding mistakes and how to avoid them
  • Strategies for planning and organizing your code
Course content
Expand all 58 lectures 10:21:10
+ Introductions
4 lectures 25:46
How to use the Q&A forum
What is debugging and what is programming style?
+ The MATLAB desktop environment
4 lectures 35:41
Course reader and MATLAB code for this section
MATLAB as a calculator, colon operator

If you want more exercises than are in the pdf, watch this video!

Solve some MATLAB exercises!
+ Variables
8 lectures 01:12:38
Course reader and MATLAB code for this section
What are variables?
Indexing number arrays
Variables for strings
Variables for logicals (Booleans)
Variables for structures
Variable naming rules and recommendations
+ Scripts and functions, part 1
8 lectures 01:15:59
Course reader and MATLAB code for this section
Scripts and functions; organization
Function inputs and outputs
Getting help on functions
Comments, cells, spacing
The MATLAB path
Parameters and hard-coding vs. soft-coding
+ Getting data into and out of MATLAB
3 lectures 26:26
Course reader and MATLAB code for this section
Copy-paste, loading MATLAB format files, Excel, and image files
Exporting data in MATLAB, text, and Excel formats
+ Control statements
9 lectures 01:47:47
Course reader and MATLAB code for this section
Control statement architecture; if and switch commands
Try-catch statements
Application (1 of 2): import data
Application (2 of 2): export data
Exercise: Create a matrix of random integers

Show off your new skills in this assignment! (And then check your solution against mine.)

Exercise: Guess the number!
+ Visualizing data and functions
8 lectures 01:31:08
Course reader and MATLAB code for this section

Test your MATLAB plotting skills -- without using MATLAB!!

Exercise: mo' subplots, mo' problems!
Plotting lines in 2D and in 3D
Making bar plots with error bars
imagesc, contourf, and surf
Improve your figure with get and set
Exercise: Find the fix the problems!
+ Functions, part 2
8 lectures 02:06:19
Course reader and MATLAB code for this section
Input checks on basicstats.m
Creating functions, example II
Creating functions: unique elements and frequencies
Anonymous functions

So you think you're a whiz at anonymous functions?? Now's your chance to prove it!

Exercise: anonymous function of two variables!
Set your preferences in startup.m and finish.m
+ Debugging
5 lectures 58:36
Course reader and MATLAB code for this section
Types of programming difficulties, and tips for preventing errors
The FIP (find, inspect, plot) strategy for debugging
MATLAB profiler
  • Prior experience with MATLAB is NOT necessary!
  • But a bit of programming familiarity (in any language) will be helpful.
  • Either MATLAB or Octave (a free MATLAB-like program) installed on your computer.
  • Mathematics background is NOT necessary.

You need to learn MATLAB!

MATLAB is the most powerful and versatile software program for data visualization, simulations, complex large-scale data analysis, and applied linear algebra. MATLAB is widely used in academia and industry, and MATLAB programming skills can be vital to success in studies, research, and industry.

Learning to program is more than just memorizing code

Sure, you need to learn MATLAB coding syntax rules, you need to memorize some functions, and you need to know how to write a for-loop. And you'll learn these topics in this course.

But becoming a proficient programmer is also about developing critical-thinking skills, debugging strategies, and programming style. That's a major focus of this course. In fact, my goal in this course is not just to teach you how to code in MATLAB, it's to teach you high-level, transferable skills that will help you become a better programmer, regardless of whether you are using MATLAB, Python, R, JavaScript, or any other language.

What you will learn in this course:

  • Using and customizing the visual MATLAB environment (including replacing those awful default black-on-white colors with something that suits your colorful personality!)

  • MATLAB programming basics

  • Control statements (for-loops, while, if-else, switch)

  • Make your own MATLAB functions

  • Create and edit data visualizations using the MATLAB graphics engine

  • How to write good, clean, readable code

  • General strategies for debugging (finding and fixing errors)

  • Recognize common coding mistakes and how to avoid them

  • How to organize and optimize your code before you start coding

  • Build confidence about your programming skills

This course is for you if your programming skills are:

  • Terrible

  • OK

  • Sort-of all right but could be better

  • Good or excellent in a language other than MATLAB

What sets this course apart from other MATLAB courses on Udemy:

  • Start with the basics, but move to intermediate programming levels.

  • Instead of just learning a few MATLAB tricks, you will learn general, transferable programming skills.

  • You will learn not only how to program, but also how not to program, including the common coding errors to avoid.

  • You will see lots and lots of examples in MATLAB of coding mistakes and bugs that I've seen countless students make.

  • You will learn strategies for confirming, debugging, and sanity-checking your code to weed out possible hidden coding bugs.

  • You will learn about data visualization, including the basics and intermediate levels in order to make beautiful visual displays of data.

  • You will learn how to plan, organize, and structure scripts and functions. These are the skills that turn novice programmers into expert programmers.

What you get in this course:

  • >5 hours of video lectures that include explanations, pictures, and diagrams

  • pdf readers with important notes and explanations

  • Exercises and their solutions

  • >1500 lines of MATLAB code

  • Access to me! You can ask me questions or send me some code that you need help with.

  • That warm, fuzzy, and deeply existentially satisfying feeling you get from writing good, clean code.

Why I am qualified to teach this course:

I've written two textbooks on MATLAB programming (you can look them up on amazon for reviews) and I've taught programming and data visualization for almost 20 years. I know exactly what students are going through when learning MATLAB, and I've seen every possible error and source of confusion you can imagine!

Don't just take my word for it: Scroll down and read the reviews!

I've taught MATLAB to people with the following backgrounds:

  • Data science

  • Statistics

  • Computer science

  • Biology

  • Psychology

  • Engineering

  • Physics

So what are you waiting for??

Watch the course introductory video to learn more about the contents of this course and about my teaching style. If you are unsure if this MATLAB course is right for you, feel free to contact with me questions before you sign up.

I hope to see you soon in the course!


Who this course is for:
  • Students who need MATLAB for courses
  • Scientists who need MATLAB for research
  • Someone who will use MATLAB as a tool to understand math or engineering principles
  • Experienced programmers who are new to MATLAB
  • Anyone interested in learning about programming!