About 113 results
Open links in new tab
  1. 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: …

  2. 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 …

  3. 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 …

  4. 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 …

  5. Nodal Analysis - learn about KCL and solve it easily with Matlab

    The following example illustrates the use of Matlab for solving nodal voltages of electrical circuits. Nodal Analysis - find the voltages in a circuit For the circuit shown below, resistors are in ohms …

  6. 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...

  7. Recursion - a conceptual example in Matlab

    Recursion or self-calling routine 1.- Basics 2.- Example with Factorials 3.- Video: Solve a Puzzle with Recursivity 1.- Basics Recursion is a kind of tricky and smart construction which allows a …

  8. Random Numbers and Simulations with Matlab

    Random Numbers and Distributions In order to generate random numbers we can use various commands available in Matlab. We won’t worry about how this is done or the technical aspects …

  9. 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 …

  10. 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 …