Author: neha.bhagirath
-
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…
-
Eliminations = Factorization; A = LU
Today we will be discussing the following topics: 1. What is LU Factorization? 2. Factoring a Matrix Using the LU Factorization Method 3. Backward and Forward Substitution 4. Solving a System of Equations using A = LU 5. Band Matrices 6. The Cost of Matrix Calculations VIDEO COMING SOON! What is LU Factorization? LU Factorization…
-
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…
-
3D Plotting: Meshgrid and Ndgrid; Contour, Mesh, Plot3, and Surface Plots
Today we will be covering the following topics: 1. Meshgrid and Ndgrid 2. Contour Plots 3. Plot 3 4. Surface Plots – Using Surf 5. Mesh Plots – Using Mesh 6. Changing Color of 3D Plots VIDEO COMING SOON! Meshgrid and Ndgrid MATLAB uses the commands meshgrid and ndgrid to go from a 1D…
-
Slice; Vector Field Plots
In today’s lesson, we’re going to be covering the following topics: 1. Slice Function 2. Vector Field Plots video coming soon Slice Function The built-in MATLAB function slice allows you to slice through the x, y, or z plane of a 3D shape. The slice can be orthogonal (perpendicular) to the specified plane, and there…
-
Creating Input Statements
In today’s lesson, we will be covering how to create input statements. Input statements are used in scripts to get the user to input a specific number rather than assigning one value to a variable. For example, if I wanted to make a code that added together two numbers that someone using my program would…
-
X-Y Plotting; Adding Titles and Axis Labels; Controlling the Axes
In today’s lesson, we will be covering the following topics: 1. X-Y Plotting 2. Fplot and Ezplot 3. Adding Titles and Axis Labels 4. Controlling the Axes VIDEO COMING SOON X-Y Plotting To make a plot (only in two dimensions for now), we need a matching number of x- and y- values, just like we…
-
Anonymous Functions and Inline Functions
In today’s lesson, we will be covering the following topics: 1. Anonymous Functions 2. Inline Functions video coming soon Anonymous Functions Anonymous functions aren’t technically “functions” in the sense that they need a special function file, but can be written within a script (check out the lesson on User Defined Functions here). They can accept…
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!