Category: MATLAB
-
Bar Graph, Scatter Plot, Pie Chart, Histogram, Log Plot, Polar Plot
In this lesson, we will be discussing different types of graphs that MATLAB can make. I may not have covered every single type, but these are some popular ones: 1. Bar Graph 2. Scatter Plot 3. Pie Chart 4. Histogram 5. Log Plot 6. Polar Plot video coming soon! Bar Graph I will use the…
-
Solving Ordinary Differential Equations (0DEs)
In this lesson, we will cover the following topics: 1. Solving First Order Ordinary Differential Equations (ODEs) 2. Solving Higher Order ODEs (Second Order, etc) 3. Solving Systems of ODEs video coming soon Solving First Order Ordinary Differential Equations (ODEs) ODE’s are not typically introduced in an Introduction to MATLAB course, but knowing how to…
-
Using Loops and Indexing
In this lesson, we will be covering the following topics: 1. Loops with Indexing 2. Loops within Functions 3. Varargin and Nargin 4. Functions within Loops video coming soon! Loops with Indexing We discussed both indexing and loops in previous lessons, but what if we have loops where we need to use indexing within them?…
-
Printing Values
In this lesson, we will cover how to display values or print them into sentences. This covers: 1. Disp 2. Fprintf video coming soon! This is useful when you want the output of a code to look neater in a table, or in specific sentences. By default, if you don’t use semicolons at the end…
-
While Loops, Infinite Loops, Nested Loops; Using Break, Return
In today’s lesson, we’re going to cover the following topics: 1. While Loops 2. Infinite Loops 3. Nested While Loops 4. Break Statements 5. Return Statements VIDEO COMING SOON While Loops This is one of the 4 types of control flow logic (recall the 4 types – if-else, switchcase, while loops and for loops). A…
-
Introduction to Control Flow Structures; For Loops, Nested For Loops
In today’s lesson, we’re going to cover the following topics: 1. Control Flow Structures 2. For Loops 3. Nested For Loops VIDEO COMING SOON Control Flow Structures Within MATLAB, we are able to create codes that will execute a decision for us – “if this happens, then do this” kind of thing. This is called…
-
Solving Systems of Non-Linear Equations
In today’s lesson we will be discussing how to solve a system of non-linear equations. We will be discussing the following commands: 1. Fsolve 2. Solve and Vpasolve Recall that we discussed solving a system of linear equations in a previous lesson – click here if you missed it. Linear equations are those that graph…
-
Polynomial Operations, Fitting Data to a Polynomial, Evaluating Fit
Today we will be covering the following topics: 1. Polynomial Operations – Roots, Poly, fminsearch 2. Roots of Non-Linear Functions – Fzero 2. Fitting Data to a Polynomial 3. Evaluating how well the data fit VIDEO COMING SOON Polynomial Operations – Roots, Poly To find the roots (aka the zeroes) of a polynomial function, use…
-
Importing and Exporting Files
Today we will be covering the following topics: 1. Importing Files into MATLAB 2. Operations with Imported Data 3. Exporting Files from MATLAB 4. Viewing Contents of a MATLAB File Before Opening video coming soon! Importing Files into MATLAB There are ways to import data from other file extensions into MATLAB to use as datasets.…
-
User Defined Functions and Recursive Functions
Today we will be covering the following topics: 1. User Defined Functions – A general function can go under many different names – an M-File Function, M-Function, or sometimes people just refer to it as a function 2. Nested Functions 3. Nargin and Varargin 4. Recursive Functions VIDEO COMING SOON User Defined Functions Note before…
Recent Posts
- More Practice – Thermodynamics
- More Practice – Advanced Functions
- How Genetic Algorithms Evolved From the Theory of Evolution
- More Practice – Process Design
- More Practice – Process Integration
Tags
absorption acid alcohol alphabetical order benzene calculus carbon chemical chemistry computing conjugate cyclo definite differential engineer engineering equations exceptions exponential factoring families Gaussian Elimination graphs identity indefinite limit rules limits logarithmic math MATLAB nomenclature organic phenyl programming properties reversed carnot Row Reductions rules squeeze theorem substituents System of Equations table of values trig university vapor compression
Comments
Hello there. I discovered your site by means of Google at the same time as searching for a similar subject,…
thanks!