
ASCII Chart in Matlab
ASCII Chart in Matlab In this article we have three goals: first, we’re going to develop an ASCII chart to understand instructions char and double in Matlab; second, we’re going to work with a …
Polynomial Regression in Matlab - easy least squares fitting
May 7, 2010 · Polynomial Regression – Least Square Fittings This brief article will demonstrate how to work out polynomial regressions in Matlab (also known as polynomial least squares …
Quadratic Equations - solve them with this simple code
Learn to solve quadratic equations We are going to create now a Matlab program that calculates the quadratic roots (roots of quadratic equations). The equation must be in the following form: …
loglog - Logarithmic plots in Matlab
In this example we are going to demonstrate how to use the loglog function included in Matlab to produce logarithmic plots. This term referrs to the fact that the plot is logarithmically scaled in …
Definite Integrals - how to calculate in Matlab
We’re going to focus this time on the calculation of definite integrals using the Matlab already built-in functions. Why we can evaluate definite integrals There’s a number of reasons for …
hist - Histograms in Matlab - easy examples
hist - Histograms in Matlab Commands for histograms and vertical data The hist instruction in Matlab, without output arguments, produces a histogram bar plot of the results. The bar edges …
Interpolation - easy code with Matlab
Fortunately, Matlab has also several built-in function to interpolate values with different methods (' interp1 ', ' interp2 ', ' interp3 ', and ' interpn '). ' interp1 ' is called one dimensional interpolation …
Step function - unit step with Matlab - matrixlab-examples.com
How to plot the unit step function - Heaviside - with Matlab. Let's see some examples of discrete operations...
RC circuit - Transient analysis with Matlab
The following examples illustrate the use of Matlab for solving problems related to RC circuits. Example 1 – Charging circuit Assume that for the charging RC circuit above Vs = 10 volts and …
Calculus Problems - let's use Matlab to tackle them
Calculus Problems - some ideas and approaches with Matlab Calculus problems are a branch of mathematics focused on limits, functions, derivatives and integrals.