MATLAB Examples

Part1 - (Post) Data Visualization & feature extraction

Classify using supervised learning (FULL script)

Nick Hale, 8th November 2011

Nick Trefethen, September 2010

These function, mp3read and mp3write, aim to exactly duplicate the operation of wavread and wavwrite for accessing soundfiles, except the soundfiles are in Mpeg-Audio layer 3 (MP3)

This example was authored by the MathWorks community.

Nick Trefethen, October 2010

This is short demo that loads and renders a 3D model of a human femur. It showcases some of MATLAB's advanced graphics features, including lighting and specular reflectance.

F. Moisy, 19 nov 2008.

Cluster Analysis

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

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

Youtube released an updated version of their Youtube Data API:

This is a simple example of using regularizeNd.

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

How we can use the JSON parser to take data directly from Trendy (such as this trend for Cody problem count) and bring them into MATLAB.

UML Sequence Diagrams are a good way to express flow control in a program, or show the lifetime of objects in an OO system.

By Kotya Karapetyan, kotya.karapetyan@gmail.com, 2011--2012.

Toby Driscoll, 20th December 2011

Nick Hale, October 2010

Toby Driscoll, November 10, 2010

Nick Trefethen, November 2010

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

The demo with randomized block selection for standartized matrix.

Alex Townsend, August 2011

Nick Hale, June 2011

This file is designed to help you oonvert JSON strings into MATLAB-usable data. Note that it works with a string, not a file, so you have to load in the file yourself.

Stefan Guettel, October 2010

Nick Trefethen, 1st October 2011

Paris, le 19 novembre 2017

Nick Trefethen, 27 November 2011

Stefan Güttel, 11 July 2011

Pedro Gonnet, September 2010

If the user has passed a previous PowerPoint session:

By Jarek Tuszynski

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

Example illustrating sparse signal representation/approximation using the tunable Q-factor wavelet transform (TQWT). The first part: sparse signal representation (basis pursuit).

Claude BERGMANN

By Matthew Simoneau

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

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

Have you ever wondered how much caffeine the soda machine delivers on a regular work day? Would you believe that Coca-Cola is the most consumed soda, and that Diet Coke provides the largest

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

Tobin A. Driscoll, November 2009, revised February 2011

Asgeir Birkisson, October 2010

This function lightens or darkens plotted objects.

Nick Trefethen and Nick Hale, October 2010

Toby Driscoll, 16th December 2011

Alex Townsend, 6th May 2011

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

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

Copyright 2016 The MathWorks, Inc.

This sample will demonstrate the bvgraph class. It will show a few features and limitations of the class for working with these large graph files in Matlab.

Ver el código

Falko Schindler, August 6, 2012

Alex Townsend, October 2010

Mark Richardson, 21 May 2011

Use parseargs to simplify the input handling of functions which have a lot of options. Apart from reducing the tedious task of input checking, using parseargs helps to make it clear what all

Nick Trefethen, 25th January 2012

Nick Trefethen, August 2011

This demo shows how QSUB_SUBMIT_CM, QSUB_RUN_CM and QSUB_CHECK_FINISH can be used to run MATLAB computations on a cluster of UNIX/Linux machines. The actual user interface is

Nick Hale and Nick Trefethen, December 2010

Nick Trefethen, 22 October 2010

Will demonstrate running PageRank on a 110M node graph with 1B edges. The system is a 64-bit Dell Linux machine with 2GB of RAM. You must have 2GB of RAM to run this example. Also, you must

Nick Trefethen, February 2011

Nick Trefethen, July 2011

Toby Driscoll and Nick Trefethen, October 2010

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

Example illustrating the decomposition of a test signal into a high-resonance component and a low-resonance component (into an oscillatory component and a transient component).

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

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

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

Anonymous, 14th February 2012

Lloyd N. Trefethen, November 2009, revised February 2011

By Bill McKeeman August 17, 2008

All the parameters for the recording are set while the corresponding folder is created for storing the output.Then the recording process starts ! --- Executes on button press in vdrecord.

Nick Trefethen, May 2011

Toby Driscoll, 14th December 2011

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

Bengt Fornberg and Nick Hale, October 2010

Toby Driscoll, November 2010

Asgeir Birkisson, May 2011

Nick Trefethen, September 2011

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

Make a standard atmosphere function from an existing spreadsheet tool.

Nick Hale, November 2010

Lloyd N. Trefethen, October 2009, revised February 2011

Stefan Güttel, 30 August 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.

Mark Richardson, 4th October 2011

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 '\'

Test alignment

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

Ricardo Pachon and Nick Trefethen, November 2010

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

Was adapted from the scatteredInterpolant examples from Mathworks.

Stefan Güttel, 8th February 2012

Lloyd N. Trefethen, November 2009, revised Feburary 2011

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

Nick Trefethen, 26th October 2011

Nick Trefethen, 18th October 2011

Toby Driscoll, May 18, 2011

Jari Fowkes and Nick Trefethen, November 2010

Nick Trefethen, 6th November 2011

Toby Driscoll, 8th December 2011

Ivan Selesnick, Polytechnic Institute of New York University, November 2010.

Richard Brown, May 28, 2007

Toby Driscoll, May 7, 2011

Nick Hale & Natasha Flyer, September 2010

Alex Townsend, 28th October 2011

Asgeir Birkisson, 25th January 2012

Nick Hale, December 2009

Sheehan Olver, 27 September 2010

Mark Richardson, 9th May 2011

Nick Hale, 5th March 2012

Mark Richardson, 27 September 2010

The behavior of regularizeNd in 1D.

Asgeir Birkisson, 18th October 2011

Nick Trefethen, December 2010

Marcus Webb, 23rd August 2011

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

Asgeir Birkisson, 16th November 2011

Nick Trefethen, 16th November 2011

Toby Driscoll, 8th November 2011

Nick Hale, 25th November 2011

Nick Trefethen, 25 September 2010

Nick Trefethen, June 2011

Pedro Gonnet, 1st November 2011

Stefan Guettel, 2nd November 2011

Asgeir Birkisson, September 2010

Nick Hale, 17th October 2011

Tom Maerz, 05 October 2010

Toby Driscoll, 20 October 2010

Toby Driscoll and Nick Trefethen, 7 October 2010

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

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

Nick Trefethen and Tom Maerz, 30 September 2010

Nick Trefethen, 13th December 2011

Stefan Güttel, 9th November 2011

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

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

必要なToolbox:

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

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

Verify perfect reconstruction (PR) property of TQWT

Popen() -- for "pipe open" -- is a very useful system call provided in many flavors of Unix. It runs a command passed in as a string then returns a file handle so that the parent process can read or

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

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

Verify perfect reconstruction (PR) property of radix-2 TQWT

Choose your country 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 location from the following list:

See all countries