MATLAB Examples

If you have a set of N points on a cartesian plane, there will always exist an N-1th order polynomial of the form y = a_0 + a_1.x + a_2.x^2 + ... a_n-1.x^(n-1) which passes through all the points.

Nick Hale, 8th November 2011

This Matlab tutorial demonstrates step by step the Singular Spectrum Analysis (SSA).

Nick Trefethen, September 2010

This simulation code is based on "Jordan Street's" OFDM simulation presentation 'https://www.youtube.com/watch?v=SyKJrrNhPO8'. We just implemented this tutorial. We don't claim any

Toby Driscoll, November 10, 2010

This Matlab tutorial demonstrates step by step the multivariate singular spectrum analysis. The steps are almost similar to those of a singular spectrum analysis.

Author: SHUJAAT KHAN -- shujaat123@gmail.com Cite: Khan, S., Naseem, I., Togneri, R. et al. Circuits Syst Signal Process (2017) 36: 1639. doi:10.1007/s00034-016-0375-7

Khan, S., Naseem, I., Togneri, R. et al. Circuits Syst Signal Process (2017) 36: 1639. doi:10.1007/s00034-016-0375-7 https://link.springer.com/article/10.1007/s00034-016-0375-7

Nick Hale, October 2010

When you are loading large files for lookup table data from a mat file, the loading of the file is a major cost of time when running the Simulink model. The time cost can be reduced by keeping the

Nick Trefethen, October 2010

Author: Shujaat Khan, shujaat123@gmail.com

必要なToolbox:

This script file is designed to be used in cell mode from the matlab editor, or best of all, use the publish to HTML feature from the matlab editor. Older versions of matlab can copy and paste

The behavior of regularizeNd in 1D.

Author: Shujaat Khan, shujaat123@gmail.com Please Cite: Khan, S., Naseem, I., Togneri, R. et al. Circuits Syst Signal Process (2017) 36: 1639. doi:10.1007/s00034-016-0375-7

Part1 - (Post) Data Visualization & feature extraction

RegularizeNd Fits a nD lookup table with smoothness to scattered data.

Plant identification simulation Author: SHUJAAT KHAN (shujaat123@gmail.com) Please cite: @article{Khan2017FLMFFL, title={FLMF: Fractional least mean fourth algorithm for channel

This Matlab tutorial demonstrates the application of a modified varimax algorithm in varimax.m to the eigenvectors of a multichannel singular spectrum analysis (M-SSA).

Demonstrates the use of regularizeNd with a 4D input and 1D output dataset. Note, that selecting the smoothness isn't always obvious until you have gained experience using regularizeNd.

This example was authored by the MathWorks community.

This is a 5d example. The number of points in the grid is 117,600. This means that the rank of the linear system equations solved is 117,600. I would classify this as a medium size problem. In my

Easy to build pendulum lab to acquire data from an Arduino®, analyze the data to find the period of the pendulum, and connect theory with the experiment using symbolic calculations.

The difference between the '\' and the 'normal' solver. The gist is use the '\' for accuracy or ill conditioned problems otherwise use 'normal' for speed. 'normal' is 2-3 times faster than '\'

Alex Townsend, August 2011

Basic toolbox for polynomial B-splines on a regular grid

Classify using supervised learning (FULL script)

Cluster Analysis

Use Embedded Coder Support Package to run a Simulink® model on TIVA Tiva TM4C123G LaunchPad using Energia Toolchain.

These are some examples plots made with the carpetplot class.

Richard Brown, May 28, 2007

Toby Driscoll, 20th December 2011

Illustrates the use of BEADS to estimate and remove the baseline of chromatogram series.

Nick Trefethen and Nick Hale, October 2010

David Young

Stefan Guettel, October 2010

Nick Trefethen, August 2011

Toby Driscoll, 16th December 2011

This case study analyzes the amount of vibration a passenger experiences for a vehicle traveling over a road disturbance (bump). We want to determine the amount of reduction in displacement

Nick Trefethen, 1st October 2011

This is a simple example of using regularizeNd.

Nick Hale and Nick Trefethen, December 2010

Nick Trefethen, November 2010

Nick Trefethen, 25th January 2012

Nick Hale, June 2011

Stefan Güttel, 11 July 2011

Nick Trefethen, May 2011

Bengt Fornberg and Nick Hale, October 2010

SEE ALSO : ASK_MOD, BPSK_MOD, FSK_MOD

Lloyd N. Trefethen, November 2009, revised February 2011

Tobin A. Driscoll, November 2009, revised February 2011

Nick Trefethen, February 2011

SEE ALSO : ASK_MOD, FSK_MOD, QPSK_MOD

Copyright (c) 2015, Mehmet E. Yavuz All rights reserved.

Lloyd N. Trefethen, November 2009, revised Feburary 2011

This demo showcases visualization and analysis for forecasting energy demand based on historical data. We have access to hour-by-hour utility usage for the year 2006, including

Was adapted from the scatteredInterpolant examples from Mathworks.

This script demonstrates the complete workflow for developing an embedded machine learning application,including acquiring the data, extracting features, exploring various

Use Embedded Coder Support Package to run a Simulink® model on MSP-EXP430G2 LaunchPad using Energia Toolchain.

Nick Trefethen, September 2011

This file runs three versions of a Radix-4 FFT written in MATLAB:

Nick Trefethen, July 2011

Nick Trefethen, 27 November 2011

Find the Darcy friction factor for pipe flow using the Colebrook equation.

The demo with randomized block selection for standartized matrix.

F. Moisy, 19 nov 2008.

Binh K. Lieu and Mihailo R. Jovanovic, 6th January 2012

This program has the ability to embed/hide multiple text images in any color image. The encoded text images can be seamlessly recoverable. The key advantage in this coding algorithm is, the

Lloyd N. Trefethen, October 2009, revised February 2011

Toby Driscoll, May 7, 2011

This function performs interpolation over small gaps in 1D data.

Toby Driscoll and Nick Trefethen, 7 October 2010

Ver el código

SEE ALSO : ASK_MOD, BPSK_MOD, QPSK_MOD

Nick Trefethen, 16th November 2011

Alex Townsend, 6th May 2011

SEE ALSO : BPSK_MOD, FSK_MOD, QPSK_MOD

Toby Driscoll and Nick Trefethen, October 2010

Toby Driscoll, November 2010

Tune the parameters and monitor the signals of an algorithm running on Tiva TM4C123G LaunchPad using Energia Toolchain.

Nick Hale, 5th March 2012

This examples shows how to exchange live data with Data Acquisition hardware using simple for or while loops and System object™ interfaces.

Open diagnosticsSolverSettigns.mdl

Asgeir Birkisson, October 2010

Mark Richardson, 27 September 2010

Toby Driscoll, May 18, 2011

Anonymous, 14th February 2012

The direct projection method for solving linear systems with square matrix. It is assumed that the principal minors are nonsingular.

Two ravines on a hillside. Scanned from a topographic map of an area in upstate New York.

Copyright 2016 The MathWorks, Inc.

The function NEXTNAME returns a file or folder name, incrementing a number at the end of the name to ensure that the returned name is not currently used.

Mark Richardson, 9th May 2011

Nick Trefethen, 25 September 2010

Nick Hale, November 2010

Claude BERGMANN

Pedro Gonnet, September 2010

Nick Trefethen, December 2010

Alex Townsend, October 2010

Paris, le 19 novembre 2017

Alex Townsend, 28th October 2011

Nick Trefethen, 22 October 2010

Stefan Güttel, 8th February 2012

Toby Driscoll, 14th December 2011

Nick Trefethen, 13th December 2011

Nick Trefethen, 18th October 2011

Demonstrates the change in the rate of convergence of the regularized form of the Column-Kaczmarz algorithm.

Compression of a cylindrical gel with height = L [mm] and diameter = d [mm] by Roche C. de Guzman, Ph.D. Hofstra University

Toby Driscoll, 8th December 2011

Stefan Güttel, 30 August 2011

Tom Maerz, 05 October 2010

Toby Driscoll, 8th November 2011

Demonstrates the change in the rate of convergence of the Quasi-Optimal Kaczmarz algorithm (awaiting publication).

This publishable m-file demonstrates fitcircle, a function for finding the best fit circle by least squares. The implementation is based on Least-Squares Fitting of Circles and Ellipses,

Ricardo Pachon and Nick Trefethen, November 2010

Nick Hale, December 2009

Marcus Webb, 23rd August 2011

Asgeir Birkisson, May 2011

Nick Hale, 25th November 2011

Asgeir Birkisson, 25th January 2012

Mark Richardson, 4th October 2011

This function employs the interpm function to densifiy lat/lon sampling in lines or polygons, but extends the available input units to include 'meters' or 'kilometers'. However, note that

Toby Driscoll, 20 October 2010

Jari Fowkes and Nick Trefethen, November 2010

Asgeir Birkisson, September 2010

Stefan Güttel & Nick Hale, 13th December 2011

This script demonstrates how to use the different abilities of the enhanced rdir function.

Nick Trefethen, June 2011

Asgeir Birkisson, 16th November 2011

Initialize a clean workspace. Save your work first!

Mark Richardson, 21 May 2011

Pedro Gonnet, 1st November 2011

Nick Trefethen and Tom Maerz, 30 September 2010

Sheehan Olver, 27 September 2010

Nick Trefethen, 6th November 2011

Ivanov Andrey, Candidate of Physico-Mathematical Sciences, ssauivanov@gmail.com.

Nick Trefethen, 26th October 2011

Make a standard atmosphere function from an existing spreadsheet tool.

事前に測定器制御のライブラリのインストールが必要です。 この例ではVISAライブラリを利用しています。

Stefan Güttel, 9th November 2011

Asgeir Birkisson, 18th October 2011

Nick Hale, 17th October 2011

This function replaces NaN values in a 1D array by replacing them with interpolated or neighboring values. Interpolation schemes assume data are evenly spaced. This function does not

This package contains data sets collected in the Cranfield Multiphase Flow Facility aiming to serve as a benchmark case for statistic process monitoring. Details of the benchmark case are

Nick Hale & Stefan Güttel, 12th December 2011

Nick Hale & Natasha Flyer, September 2010

Stefan Guettel, 2nd November 2011

This demo is an example of performing data mining on historical fuel economy data. We have data from various cars built from year 2000 up to 2012.

This is a geometry file to be used with AFP objects.

This is a Matlab GUI designed to view the points used in the kernels for interpolation purposes in the meshless formulation (resolution of boundary value problems).

This is a Matlab GUI designed to compute the acousto-electric conductivity modulation signal and Debye signals for a given electric geometry. Different parameters are included in this GUI

Once we have interactively created our analysis, it is useful to now automate it in the form of file datastore so we can do similar analysis on a variety of datasets and compare the results

Application where the grid where the values are known is a regular distribution of points.

Tomas Skovranek (a) , Vladimir Despotovic (b)

Simulation of acoustic beams from monoelement transducers is possible by using the objects, outside the NumSim simulation program. The visualization can be done using a GUI in Matlab or in

Calling FSMEM with the data Z only, without the knowledge of the number of compounds

Application where the grid where the values are known is a scattered distribution of points. The geometry used comes from the example #1 of EABE_v34_p30. For the purposes of the example, the

Test for the good size of a matrix containing floats

The steps to accomplish to create a geometry in Blender to be used in Matlab with the geometry objects. Only the relevant steps for this task are explained here; the commands specific to

Test for the presence of a string in a list of possible values

Test to have one integer

Add the cell of names to a string

This is an example where a grid of scattered points is to be written with a geometry. The geometry used comes from the example #1 of EABE_v34_p30. This set of points is used for the demo on

This is a Matlab GUI designed to explore the geometry definitions.

Resolution of multiphysic boundary value problem.

This problem is an example of application using the NumSim simulation program to solve the direct and inverse problems of acousto-electric conductivity modulation imaging.

Test to have one double

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Contact your local office