Main Content

44,560 results in File Exchange

A-weighting Filter with Matlab

Version 1.6.0.0 by Hristo Zhivomirov

A-weighting of a signal via spectral processing in the frequency domain.

The present code is a Matlab function that provides an A-weighting of a given signal via spectral processing. Two examples are given to clarify the usage of the function. For convenience, the input

  • 3.8K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Feb 2023

octave

Version 1.0.0.0 by Christophe COUVREUR

Generates normalized A-weigthing, -weighting, octave and one-third-octave digital filters.

This series of M-files generates normalized A-weigthing, C-weighting, octave and one-third-octave digital filters. These type of filters are commonly used in acoustical measurements, for example, in

- CDSGN Design of a A-weighting filter.
- ADSGN Design of a A-weighting filter.
- ASPEC Plots a filter characteristics vs. A-weighting specifications.
- CSPEC Plots a filter characteristics vs. C-weighting specifications.
- OCT3SPEC Plots a one-third-octave filter characteristics.
- OCTSPEC Plots an octave filter characteristics.
- OCT3DSGN Design of a one-third-octave filter.
- LEQ Computes the sequence of short-time RMS powers (Leq) of a signal.
- OCT3BANK Simple one-third-octave filter bank.
- FILTBANK One-third-octave band frequency analyser.
  • 27.3K (All time)
  • 8 (Last 30 days)
  • 4.8 / 5
  • Community
  • 29 Dec 1997

Reverberation Time Calculator

Version 1.0.0.0 by Edward Zechmann

Calculates Reverberation Time from multiple microphones using time records

rt_script.m is the main program. It produces a text file and a pdf file to document the reverberation time estimate. Two measurement methods can be used 1) speaker on-speaker off method, and 2

- CDSGN Design of a A-weighting filter.
- % This program applies an A-weighting filter to
- ADSGN Design of a A-weighting filter.
- % This program applies an C-weighting filter to
- OCT3DSGN Design of a one-third-octave filter.
- FINDEXTREMA - finds minima and maxima of data
- % This program quickly and randomly selects n integers from a to b.
- % This program calculates the A-weighted, C-weighted and Linear weighted
- % This program separates the filename from the extension. For example a
  • 5.2K (All time)
  • 1 (Last 30 days)
  • 4.7 / 5
  • Community
  • 18 Feb 2008

Continuous Sound and Vibration Analysis

Version 1.10.0.0 by Edward Zechmann

This program analyzes sound and vibrations data using metrics for continuous noise and vibrations.

: peaks, Leq, LeqA, LeqC, kurtosis, third octave band peaks and levels, and more. Vibration metrics for hand-arm include: arms, armq, Dy, peak, crest factor, kurtosis, third octave band levels and peaks

- FILTERA Generates an A-weighting filter.
- % ACweight_time_filter: Applies an A or C weighting time filter to a sound recording
- % Leq_all_calc: Calculates levels and peaks for A, C, and linear weighting
- % geospace: caculates a geometric sequence or psuedogeometric sequence from a to b with n elements
- % pow10_round: Round a numeric array to a Specified Digits Place
- % m_round: Rounds an array to a specified number of significant digits or a specified digits place: significant figures, sigfigs
- function [pfq]=genHyper(a,b,z,lnpfq,ix,nsigfig)
- % sd_round: Rounds an array to a specified number of Significant Digits, significant figures, digits of precision
- % rand_int: Quckly generates n random integers from a to b integer
- % hand_arm_time_fil: Calculates the hand arm vibrations filter coefficients and returns the filtered time record
- % save_a_plot2_audiological: Saves current figure to specified image type.
- TABLEGUI - Spreadsheet like display and edition of a generic 2D array. By generic it is
- % filter_settling_data: Creates data to append to a time record for settling a filter
- % splat_cell: Returns a row vector of numbers containng all of the numbers in a cell array
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % kurtosis_excess2: Calculates the excess kurtosis of a matrix.
- % print_data_loader_configuration_table: Prints the variable configuration to a table
- % rms_val: Calculates the rms value along a specific dimension
- % file_extension: separates a filename and path from the file extension
- selectdlg2 Generate a scrolled matrix of choices for user selection.
- % bessel_digital: creates a digital low pass bessel filter of order n
- % match_height_and_slopes2: creates a quartic with specifed height and slope at the end points.
- % find_nums: Finds floating point complex, real, integer, and currency (dollars) numbers in a string
- % resample_plot: Resamples a plot to 10000 data points using the max and%min from each bin
- % t_alpha: cumulative probability function of the t-distribution,
- % inverse cumulative probability function, t-distribution
- % fix_YTick: Sets appropriate Y-Tick values for small plots
- ELLIPSE - draw and ellipse on specified or current axis
- CHOOSEBOX Two-listed item selection dialog box.
  • 8.7K (All time)
  • 8 (Last 30 days)
  • 4.5 / 5
  • Community
  • 4 Dec 2013

Sound Level Meter

Version 1.0.0.0 by Douglas Lanman

Implements real-time spectrum analyzer and displays decibel level.

This tutorial/demo presents the design of a sound level meter in Matlab. The Data Acquisition Toolbox is used to implement a real-time spectrum analyzer. The decibel meter is implemented in the

- FILTERA Generates an A-weighting filter.
- SLM Implements a basic sound level meter.
  • 29.4K (All time)
  • 2 (Last 30 days)
  • 4.3 / 5
  • Community
  • 13 Jan 2006

Calibrated Spectral Analysis

Version 1.4.0.0 by Edward Zechmann

Simple Fourier Spectral Analysis of sound pressure time record.

. pressure_spectra is the main program and allows the user to input the bin_size, number of averages, sampling frequency, and has options for maximizing the number of averages and forcing the bin_size to a factor of 2.

- FILTERA Generates an A-weighting filter.
- % ACweight_time_filter: Applies an A or C weighting time filter to a sound recording
- % mic_calib: Uses a flat top window to calibrate using A-weighted or Linear weighting
- % geospace: caculates a geometric sequence or psuedogeometric sequence from a to b with n elements
- % rand_int: Quckly generates n random integers from a to b integer
- % spectra_estimate: Is a rough estimate of the pressure spectra
- % bessel_digital: creates a digital low pass bessel filter of order n
- % match_height_and_slopes2: creates a quartic with specifed height and slope at the end points.
- % window_correction_factor: Computes the factor for calibrating a Fourier Transform given specific processing parameters
- % filter_settling_data: Creates data to append to a time record for settling a filter
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % rms_val: Calculates the rms value along a specific dimension
- ELLIPSE - draw and ellipse on specified or current axis
  • 3.4K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 28 May 2014

ACOUSTIC MEASURES IN VIDEO SUBTITLES

Version 1.0.0.0 by Pravin Kumar

Scripts for intergrating basic acoustic measures (SPL and fo) as video subtitles

- ADSGN Design of a A-weighting filter.
- CDSGN Design of a C-weighting filter.
  • 40 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 2 May 2018

CalibrateVoiceSpl

Version 1.0.0.0 by Svante Granqvist

Scripts for SPL calibration of voice signals, with examples

- ADSGN Design of a A-weighting filter.
- CDSGN Design of a C-weighting filter.
  • 156 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Aug 2017

Acoustics

Version 2021.05.01 by Stephan Pitsch

This software can be used for recording and analysis of analog voltage, sound and acceleration signals both in time and frequency domain.

GUI.Following functions are just a selection of what can be done with this tool. For more information read the manual.-Simultaneous recording of 4 channels: voltage, sound or acceleration signals-Supported

  • 692 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 May 2021

NOCAD - Network based Observability and Controlability Analysis of Dynamical Systems toolbox

Version 1.0.0.0 by Janos Abonyi

Network theory based analysis of controlability and observability of state space models

- generates a weighting for the similarity of two sets, where
- funtion generates a reachability matrix for the A matrix.
- creates a matrix, which can shows that how a
- funtion generates a reachability matrix for the A matrix.
- function get a system described by A. Inputs freeLoop gives the
- creates a matrix, which can shows that which
- creates a struct from the input matrices, which are
- generates a sparse matrix, which contains the similarity of
- funtion generates a reachability matrix for the network adj.
- Compute the strongly connected components of a directed graph.
- calculates the centrality measures from the A and C
- generates driver and sensor node sets for a system
- calculates the centrality measures from the A and B
- generates driver nodes for adjacency matrix A, or sensor nodes
- generates a matrix, which is contain the similarity of the
- determines if the system describe by its adjacency matrix A (not
- generates a sparse matrix, which is contain the importance of the
- determines if the system describe by its adjacency matrix A (not
- generates B and C matrices of state-space model
- returns with the out-degree centrality of the network described
- generates B and C matrices of state-space model
- returns with the in-degree centrality of the network described
- generates two heat maps for system described by A. The function
  • 429 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Mar 2017

Nth_Oct_Hand_Arm_&_AC_Filter_Tool_Box

Version 1.6.0.0 by Edward Zechmann

Features Nth octave band, Hand Arm, and A and C weighting filters

sound levels and other metrics given a time record in Pa. ACweight_time_filter: applies an A or C weighting filter to a time record and returns the A or C weighted time record.ACdsgn: designs A and C

- % ACweight_time_filter: Applies an A or C weighting time filter to a sound recording
- % Leq_all_calc: Calculates levels and peaks for A, C, and linear weighting
- % Test_ACweight: Tests the A and C weighting filters using pure tones and tone bursts
- % save_a_plot_reverb_time: Saves current figure to specified image type.
- % geospace: caculates a geometric sequence or psuedogeometric sequence from a to b with n elements
- % sd_round: Rounds an array to a specified number of Significant Digits, significant figures, digits of precision
- % rand_int: Quckly generates n random integers from a to b integer
- % hand_arm_time_fil: Calculates the hand arm vibrations filter coefficients and returns the filtered time record
- % filter_settling_data: Creates data to append to a time record for settling a filter
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % rms_val: Calculates the rms value along a specific dimension
- % spectra_estimate: Is a rough estimate of the pressure spectra
- % file_extension: separates a filename and path from the file extension
- Displays a multi leveled progressbar. This makes it easy to nest
- % AC_weight_NB: Calculates the A and C frequency weights at specified frequencies
- % bessel_digital: creates a digital low pass bessel filter of order n
- % match_height_and_slopes2: creates a quartic with specifed height and slope at the end points.
- % window_correction_factor: Computes the factor for calibrating a Fourier Transform given specific processing parameters
- % Test_hand_arm: Tests the accuracy of the hand-arm vibrations filters
  • 3.5K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Mar 2012

MatTuGames

Version 1.9.0.2 by Holger I. Meinhardt

A Matlab Toolbox for Cooperative Game Theory

- computes the weighted Shapley-value of a TU-game v.
- computes from the threshold th and
- computes the weighted Owen value w.r.t.
- computes the weighted Solidarity value of a TU-game v.
- computes the weighted Shapley-value of a TU-game v.
- computes the weighted Solidarity value of a TU-game v
- computes the weighted Owen value w.r.t.
- returns the players who are A-Null players.
- checks if the solution x satisfies the A-Dummy player property.
- checks if the solution x satisfies the A-Null player property.
- checks if the solution x satisfies the A-Dummy player property
- returns the players who are A-Null players using Matlab's PCT.
- checks if the solution x satisfies the A-Null player property
- computes the anti-chi-value of a TU-game v using MATLAB's PCT. This is a generalized
- computes the chi-value of a TU-game v. This is a generalized
- computes the chi-value of a TU-game v using MATLAB's PCT. This is a generalized
- computes from a sample of observations obs and for n-assets the covariance matrix V of a portfolio with positive risk-return relationship.
- computes from a sample of observations obs and for n-assets the covariance matrix V of a portfolio with negative risk-return relationship.
- computes from a sample of observations obs and for n-assets the covariance matrix V of a portfolio with indefinite risk-return relationship.
- computes the anti-chi-value of a TU-game v. This is an anti-generalized
- computes the anti-tau-value of a TU-game v.
- computes from (v,x,S) a modified Hart-Mas-Colell anti-reduced game vS on S at x for
- computes from (v,x,S) a modified Hart-Mas-Colell anti-derived game vS on S at x for
- computes the potential of a TU-game from a game basis.
- computes the potential of a TU-game from a game basis.
- plots at most a two (three) dimensional anti-core in case of a
- plots at most a two (three) dimensional anti-core in case of a
- computes the super-sets of set S. Must be a number not a
- computes the Shapley-value of a TU-game v
- computes the multi-linear extension of a TU-game v
- computes from (v,x) a proper modified anti-pre-kernel element.
- computes the extended Shapley-value of a TU-game v w.r.t.
- computes from (v,x) a proper modified anti-pre-kernel element.
- replicates the pre-kernel solution x as a pre-kernel of
- checks whether the imputation x is a modified anti-pre-kernel element
- checks whether the imputation x is a modified anti-pre-kernel element
- checks if the anti-core cover a TU game v is non-empty.
- checks whether the imputation x is a proper modified anti-pre-kernel element
- checks if the anti-core cover a TU game v is non-empty.
- computes from (v,x) a modified anti-pre-kernel element using Matlab's PCT.
- checks whether the imputation x is a proper modified anti-pre-kernel element
- computes from (v,x) a proper modified anti-pre-kernel element using Matlab's PCT.
- computes from (v,x) a proper modified anti-pre-kernel element using Matlab's PCT.
- replicates the pre-kernel solution x of game v as a pre-kernel of
- computes from (v,x) a modified Davis-Maschler anti-reduced game vS on S at x for
- computes from (v,x) a modified Davis-Maschler anti-reduced game vS on S at x for
- computes from (v,x) a modified Davis-Maschler anti-reduced game vS on S at x for
- computes from (v,x,S) a modified Hart-Mas-Colell reduced game vS on S at x for
- computes from (v,x,S) a modified Davis-Maschler anti-derived game vS on S at x for
  • 4.8K (All time)
  • 3 (Last 30 days)
  • 4.3 / 5
  • Community
  • 14 Aug 2023

Courseware on Finite Element Methods

Version 1.1.3.0 by Andreas Apostolatos

[MATLAB®](https://www.mathworks.com/products/matlab.html) Live Editor and the [Symbolic Math Toolbox™](https://www.mathworks.com/products/symbolic.html) for the development and the presentation.\\Additionally, a comprehensive (but not exhaustive) set of

  • 704 (All time)
  • 9 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Oct 2023

Octave spectrum (ANSI S1.11-2004)

Version 1.0.0 by Marco Buzzoni

Function for estimating the octave spectrum of a given signal.

weightFlag = A-weighting [0,1], default value: 1 plotFlag = generate octave diagram [0,1], default value: 1OUTPUTS S = octave spectrum (dB) fm = midband frequency overall_lev = overall level

  • 381 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Apr 2019

draw ellipsoid

Version 1.0.0 by ibrahim kucukdemiral

This function draws ellipsoid in 2D for a given weighting matrix

  • 57 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 21 Jan 2021

C-weighting Filter with Matlab

Version 1.1.0 by Hristo Zhivomirov

C-weighting of a signal via spectral processing in the frequency domain.

The present code is a Matlab function that provides a C-weighting of a given signal via spectral processing. Two examples are given to clarify the usage of the function. For convenience, the input

  • 199 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 15 Feb 2023

Cohen's Kappa (with customizable weightings)

Version 1.0.1.0 by AS

A script to calculate Cohen's Kappa with the ability to do customizable weightings.

allowed you to calculate unweighted, linearly weighted, and quadratically weighted Cohen's Kappa. All that I have done is allow you to enter in a custom weighting matrix for use if your weights are not

  • 1.7K (All time)
  • 1 (Last 30 days)
  • 3.0 / 5
  • Community
  • 31 Mar 2016

percentile_level.m

Version 1.1.0.0 by Ernesto

N%-percentile level of a wavefile using F,S or I temporal constants and A, C, Z weighting networks

numeric in% seconds% w: weighting network % 'A' (default): A-weighted; 'C': C-weighted; 'Z': non-weighted% N: # of sampes by frame (2^16 default)* % Fs

- This function computes the A- C- or non-weighted percentil levels
  • 233 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 28 May 2014

customGray

Version 1.6.0.1 by Brett Shoelson

Create a custom grayscale image of an RGB--specify weightings or select from predefined versions.

input type. (This allows visualization of a wide dynamic range.)customGray images can improve visualizations and facilitate image segmentation.

- Sets all axes in the handle list to expand in a new figure on buttondown.
- CUSTOMGRAY: UI for selecting non-default combination of R,G,and B
- Create a custom grayscale image of an RGB--specify weightings or select from predefined versions.
  • 1.9K (All time)
  • 4 (Last 30 days)
  • -- / 5
  • Community
  • 1 Sep 2016

Impulsive Noise Meter

Version 1.8.0.0 by Edward Zechmann

Calculates Impulsive noise metrics for hazardous acoustic noise assessment.

- % ACweight_time_filter: Applies an A or C weighting time filter to a sound recording
- % Leq_all_calc: Calculates levels and peaks for A, C, and linear weighting
- % m_round: Rounds an array to a specified number of significant digits or a specified digits place: significant figures, sigfigs
- % sd_round: Rounds an array to a specified number of Significant Digits, significant figures, digits of precision
- % A_duration: Calculates the A-duration for impulsive noise
- TABLEGUI - Spreadsheet like display and edition of a generic 2D array. By generic it is
- % geospace: caculates a geometric sequence or psuedogeometric sequence from a to b with n elements
- % pow10_round: Round a numeric array to a Specified Digits Place
- FINDEXTREMA - finds minima and maxima of data
- function [pfq]=genHyper(a,b,z,lnpfq,ix,nsigfig)
- % rand_int: Quckly generates n random integers from a to b integer
- % save_a_plot2_audiological: Saves current figure to specified image type.
- % peak_threshhold_function2: Calculates a threshold for finding peaks
- estimatenoise: additive noise estimation from a time series
- % rms_val: Calculates the rms value along a specific dimension
- selectdlg2 Generate a scrolled matrix of choices for user selection.
- % Main_Sound: Main Program for the Impulsive Noise Meter and outputs a table of impulsive noise metrics
- % make_summary_impls_stats_table: Makes a summary table of the output of the Impulsive_Noise_Meter; Impulse, Impulsive, Noise, Sound, Meter
- % E_duration: Calculates the E-duration for impulsive noise
- % B_Duration_second_flucts: Calculates the secondary fluctuations for the B-duration of impulsive noise
- % D_duration: Calculates the D-duration for impulsive noise
- % B_mil_1474D_duration: Calculates the B-duration according to MIL-STD-1474D Requirement 4.
- % filter_settling_data: Creates data to append to a time record for settling a filter
- % splat_cell: Returns a row vector of numbers containng all of the numbers in a cell array
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % sub_mean: Removes the running average from a time record given a sampling rate and high pass cutoff frequency.
- % print_data_loader_configuration_table: Prints the variable configuration to a table
- % file_extension: separates a filename and path from the file extension
- MAXIMIZE Maximize a figure window to fill the entire screen
- % bessel_digital: creates a digital low pass bessel filter of order n
- % abcd_durations: Calculates the A, B, C, and D durations for impulsive noise
- % match_height_and_slopes2: creates a quartic with specifed height and slope at the end points.
- % find_nums: Finds floating point complex, real, integer, and currency (dollars) numbers in a string
- findjobj Find java objects contained within a specified java container or Matlab GUI handle
- % resample_plot: Resamples a plot to 10000 data points using the max and%min from each bin
- % LMTSregor: Estimates the best fit line through tthe origin using a random trimming and least median squares
- % C_duration: Calculates the C-duration for impulsive noise
- CHOOSEBOX Two-listed item selection dialog box.
- % fix_YTick: Sets appropriate Y-Tick values for small plots
- % t_alpha: cumulative probability function of the t-distribution,
- % inverse cumulative probability function, t-distribution
  • 2.3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 25 Sep 2012

Fractional Octave Band and A, B, C Weighting Filters DF2T SOS IIR Matlab and limited Labview

Version 1.0.0.0 by Edward Zechmann

This is a Direct Form 2 Transposed Cascaded Second Order Sections IIR implementation of Filters.

ABC weighting is accomplished using the ABC_time_filter program. Fractional Octave Band Filtering is accomplished using the Nth_oct_time_filter_df2tsos program. ABC_time_filter and

- % ABC_time_filter implements linear, A, B, or C weighting in the time domain
- % pow10_round: Round a numeric array to a Specified Digits Place
- % sd_round: Rounds an array to a specified number of Significant Digits, significant figures, digits of precision
- MAXIMIZE Maximize a figure window to fill the entire screen
  • 657 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Sep 2015

Climate Data Toolbox for MATLAB

Version 1.01 by Chad Greene

A set of low-level functions and tutorials for analyzing and displaying Earth science data.

This toolbox contains a standard set of MATLAB functions for analyzing and displaying climate data. The functions are computationally efficient, easy to use, and come with many tutorials that

- The cdtarea function gives the approximate area of each cell in a lat,lon grid assuming and ellipsoidal Earth. This function was designed to enable easy area-averaged weighting of large gridded
- The reshapetimeseries function reshapes a vector of timeseries data onto a time-of-year x year grid, accounting for messiness associated with leap days or unevenly-spaced data.
- The great Roger Miller once sang, As long as there's a hill there's a valley / Long as there's a valley then the river can flow free / As long as there's a Sun there's a shadow / As long as there's a
- sinefit fits a least-squares estimate of a sinusoid to time series data that have a periodicity of 1 year.
- The textcolorbar function creates a color-scaled text that is something between a colorbar and a text legend. It does not hijack the current colormap.
- The spei function calculates the standardised precipitation-evapotranspiration index based on a standardization of a simplified water balance based on the climatology of a particular location.
- The phasebar function places a circular donunt-shaped colorbar for phase from -pi to pi or -180 degrees to 180 degrees.
- The cell2nancat function concatenates elements of a cell into a NaN-separated vector.
- The globequiver function plots georeferenced vectors with components (u,v) in a East-North coordinate system on a globe.
- The spiralplot function makes a spiral plot that shows the annual nature and long-term trend of a time series.
- mann_kendall performs a standard simple Mann-Kendall test to determine the presence of a significant trend. (Requires the Statistics Toolbox)
- The globescatter function plots georeferenced data as color-scaled spheres on a globe.
- The filt1 applies a zero-phase butterworth filter. Requires Matlab's Signal Processing Toolbox.
- transect produces a color-scaled transect diagram of oceanographic data from CTD profiles collected at different locations and/or times.
- The cmocean function returns perceptually-uniform colormaps generated by Kristen Thyng. A detailed description of the cmocean project is available at http://matplotlib.org/cmocean.
- syntax, RGB values are scaled from 0 to 1. If you mispell a color or the color you want is not in the database, rgb will offer suggestions for other similarly-spelled colors.
- The local function returns a 1D array of values calculated from a region of interest in a 3D matrix. For example, if you have a big global 3D sea surface temperature dataset, this function makes it
- This function reads in a time variable from a netCDF file into a datetime array, assuming that the variable conforms to CF standards with a ' time units since reference time' units attribute.
- ts_normstrap performs a bootstrap uncertainty analysis on a time series given an uncertainty value at each step assuming a normal probability distribution. Bootstrapping means estimating a value at
- The expand3 function creates a 3D matrix from the product of a 2D grid and a 1D vector.
- The xcov3 function gives a map of covariance between grid cells of a 3D spatiotemporal dataset and a reference time series.
- The xcorr3 function gives a map of correlation coefficients between grid cells of a 3D spatiotemporal dataset and a reference time series.
- The globestipple function creates a hatch filling or stippling over a region of a globe. This function is designed primarily to show regions of statistical significance in spatial maps.
- This function plots a polynomial fit to scattered x,y data. This function can be used to easily add a linear trend line or other polynomial fit to a data plot.
- This function prepends a dated string to a netCDF file's history attribute.
- ntitle places a title within a plot instead of on top of it.
- The recenter function rewraps a gridded dataset to be centered on a specified longitude.
- corr3 computes linear or rank correlation for a time series and a 3D dataset.
- sineval produces a sinusoid of specified amplitude and phase with a frequency of 1/yr.
- The mask3 applies a mask to all levels of 3D matrix corresponding to a 2D mask.
- near2 finds the subscript indices of the point in a grid closest to a specified location.
- The rect2cube function reshapes and permutes a 2D matrix into a 3D cube. rect2cube is the complement of cube2rect.
- island is a logical function for determing whether a geolocation corresponds to land or water. (That's is land, not island!)
- This function plots a power spectral density of a time series using the periodogram function. Requires Matlab's Signal Processing Toolbox.
- stipple creates a hatch filling or stippling within a grid. This function is designed primarily to show regions of statistical significance in spatial maps.
- The labelbordersm function labels borders of nations or US states on a map created by Matlab's Mapping Toolbox. For a version that does not require Matlab's Mapping Toolbox, use labelborders.
- The scatstat2 function returns statistical values of all points within a given radius of each value. This is similar to taking a moving mean, but points do not need to be equally spaced.
- The anomaly function plots line data with different colors of shading filling the area between the curve and a reference value. This is a common way of displaying anomaly time series such as sea
- The polycenter function finds coordinates at the center of the largest section of a polygon. This is similar to the centroid, but ensures the coordinates are in the interior of the polygon (centroids
- The scatstat1 function returns statistical values of all points within a given 1D radius of each value. This is similar to taking a moving mean, but points do not have to be equally spaced, nor do x
- sinefit_bootstrap performs a bootstrap analysis on the parameters estimated by the function sinefit. Bootstrapping means applying the sinefit function to a bunch of subsamples of the data, then
- The filt2 function performs a highpass, lowpass, bandpass, or bandstop 2D gaussian filter on gridded data such as topographic, atmospheric, oceanographic, or any kind of geospatial data. This
- hline creates horizontal lines on a plot.
- vline creates vertical lines on a plot.
- vfill creates vertical filled regions on a plot.
- hfill creates horizontal filled regions on a plot.
- The globeplot function plots georeferenced data on a globe.
- tile determines indices for dividing a matrix into multiple tiles.
- The globeimage function creates a "Blue Marble" 3D globe image.
  • 19.6K (All time)
  • 84 (Last 30 days)
  • 5.0 / 5
  • Community
  • 4 May 2026

H∞ Mixed Sensitivity Controller With Automatic Weights

Version 1.0.0 by Usman Kabir

H∞ mixed sensitivity controller with a MOPSO based automatic weighting selection.

H∞ mixed sensitivity controller with a MOPSO based automatic weighting selection that can efficiently be used using limited resources to achieve performance specifications.

  • 124 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 26 May 2019

Sound Level Meter (Real Time Mode and Record Mode)

Version 1.0.0.0 by brais martinez

Sound Level Meter (Real Time Mode and Record Mode)

,C, Z weighting / Fast, Slow weighting) - FFT (A,C, Z weighting / 2048, 4096, 8192 Resolution) - Band-Octave Frequency Analysis ( 1/1 , 1/3, 1/12 octave) - Waveform - Windowing

- This function estimates SPL and performs SPL Frequency Weighting,SPL Time Weighting and SPL
- This function updates the plot results in Real Time Mode.
- This function estimates Leq and performs Leq Frequency Weighting and Leq
- This function calibrates the fft signal from a third octave array in dB.
  • 2.3K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 4 Jul 2015

Noise Measurement with Matlab

Version 1.4.0.0 by Hristo Zhivomirov

Estimation of the Noise PSD and Noise Voltage referred to the output of a circuit.

- weighting; - the average PSD after A- or C- weighting; - the output noise (by TrueRMS Voltmeter) before A- or C- weighting; - the output noise (by TrueRMS Voltmeter) after A- or C- weighting. Two examples are

  • 3.5K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Jun 2019

Inverse Distance Weight

Version 1.3.0.0 by Simone Fatichi

Inverse distance weighting (IDW) multivariate interpolation.

The code performs an Inverse distance weighting (IDW) multivariate interpolation, i.e. a process of assigning values to unknown points by using values from usually scattered set of known points.The

  • 6.2K (All time)
  • 4 (Last 30 days)
  • 4.3 / 5
  • Community
  • 24 Feb 2012

Flow Accumulation (upslope area)

Version 1.3.0.0 by Wolfgang Schwanghart

Flow accumulation algorithm that routes through flats

flow direction- routes across flats- calculates deterministic, randomized and random flow- allows you to specify a weighting exponent that governs the relation flow direction - slope- handles edge

  • 4K (All time)
  • 3 (Last 30 days)
  • 4.0 / 5
  • Community
  • 10 Feb 2015

FILLNANS

Version 1.0.0.0 by Ian Howat

FILLNANS replaces all NaNs in array using inverse-distance weighting between non-NaN values.

FILLNANS replaces all NaNs in array using inverse-distance weighting.Y = FILLNANS(X) replaces all NaNs in the vector or array X by inverse-distance weighted interpolation: Y =

- FILLNANS replaces all NaNs in array using inverse-distance weighting.
  • 4.1K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 18 Jul 2007

Demonstration of Astar (A*)

Version 1.1.0.0 by Bob Sturm

Pathfinding algorithm Astar (A*)

How do you find the shortest path from one point to another in a computationally efficient way? The A* algorithm provides one implementation where the distance to the goal is considered as a

  • 4.9K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 21 Feb 2011

Sound Level Instrument

Version 1.0.0 by JESUS LOPEZ LOPEZ

Here is an instrument for the measure of sound. With this application you can study the sound through a spectrum in octave-bands.

)).- Resolution: octave-bands or 1/3 octave-bands can be chosen.- Weighting: Clean, A Weighting, C Weighting.Hope you enjoy it!

  • 69 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 25 Feb 2021

summarize

Version 1.3.0.0 by Tyler Ransom

This function mimics Stata's summarize command.

This function finds summary statistics of X, which can be a column vector or matrix.Additionally, allows for computation of weighted statistics (if user supplies weighting vector or matrix) and

- SUMMARIZE calculates descriptive statistics of a variable (or set of
  • 644 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 Aug 2014

IEV channel combination

Version 1.0.0.0 by Junmin

IEV represents an algorithm for local frequency mapping from multi-ch and multi-echo data

Junmin Liu, David A. Rudko, Joseph S. Gati1, Ravi S. Menon and Maria Drangova"Inter-echo variance as a weighting factor for multi-channel combination in multi-echo acquisition for local frequency

- This function produces a background-filtered phase map using the unwrapped phase data
  • 244 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 21 Apr 2014

Suspension Bridge Picking Algorithm (SBPx)

Version 1.0.0.0 by FeedMeImATroll

The SBPx algorithm estimates the onset of impulsive signals in time series data

SBPx_description.pdf.The function call_SBPx_picker.m shows an animation of what the algorithm does with an example waveform.The algorithm is called Suspension Bridge Picker (SBPx) because the weighting function resembles a

- Convolves (?) function with a cosine so that a wiggly start is turned
  • 416 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Jul 2015

Finite-time port-controlled Hamiltonian design

Version 1.0.0 by Saeed Rafee Nekoo

These are the codes for finite-time port-controlled Hamiltonian design for second-order dynamical systems.

state-dependent differential Riccati equation (SDDRE) is an optimal nonlinear design in the company of a finite-horizon cost function that manipulates the terminal time using a weighting matrix of states. This

  • 30 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Jun 2025

Absolute Orientation - Horn's method

Version 1.5.0.0 by Matt J

Solves weighted absolute orientation problem using Horn's quaternion-based method.

ABSOR is a tool for least squares estimation of the rotation -- and optionally also thescaling and translation -- that maps one collection of point coordinates to another. It is based on Horn

- is a tool for finding the rotation -- and optionally also the
  • 9.4K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 25 May 2022

Savitzky-Golay smooth/differentiation filters and filter application

Version 1.0.0.0 by Diederick

Routine to generate Savitzky-Golay smoothing and differentiation filters and routine to apply these

. savitzkyGolayFilt(X,N,DN,F,W) specifies a weighting vector W with length F containing real, positive valued weights employed during the least-squares minimization. If not specified, or if specified as empty, W defaults

- savitzkyGolayFilt Savitzky-Golay Filtering.
  • 4.6K (All time)
  • 4 (Last 30 days)
  • 4.8 / 5
  • Community
  • 4 Feb 2011

Custom 2D Gauss

Version 1.0.0.0 by Thomas Dideriksen

Generates a customized 2D gauss

Create a custom 2D gauss, which can be used for filtering, weighting, etc. All parameters are customizable, including standard deviations (sigmaX, sigmaY), rotation (theta), result size, center, etc.

  • 7.4K (All time)
  • 1 (Last 30 days)
  • 3.8 / 5
  • Community
  • 9 Jan 2006

Iterative Closest Point

Version 1.14.0.0 by Jakob Wilm

An implementation of various ICP (iterative closest point) features.

plane as well as a couple of other features such as extrapolation, weighting functions, edge point rejection, etc.For an introductory text on the ICP algorithm and the implemented variants, see

  • 26.3K (All time)
  • 21 (Last 30 days)
  • 4.8 / 5
  • Community
  • 25 Jan 2013

Create a colored, tilted 2D error ellipse scatter plot.

Version 1.0.0.0 by Nathan Orloff

Create a colored, tilted 2D error ellipse scatter plot.

I had been searching for this for a while. I think it is pretty useful for data with 2D uncertainty. In my case, it was also tilted. It also creates a colormap based on some weighting function.

- errorellipse(ex,ey,xx,yy,varargin) creates a colored ellipses
  • 556 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 31 May 2013

Time response of multi degree of freedom systems undergoes f

Version 1.0.0 by Javad Parsi

This function provides a tool for free vibration time response of a multi degree of freedom (n-DOF) system.

the free vibration is that the time response of the vibrating system is a superposition of different modes but each of them with a weighting coefficient and a phase delay.There are three sample files

  • 138 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 13 May 2022

Phased Array demo, beam steering and focusing

Version 1.0.0.0 by Davide Di Gloria

A simple and immediate script which simulates a multibeam phased array

The user can generate as many beams he wants, by setting steering angle, focalization and intensity.Number of array elements can be set.Different weighting windows can be set to reduce sidelobes.Just

- gaussian weighting
  • 4.1K (All time)
  • 4 (Last 30 days)
  • 4.5 / 5
  • Community
  • 26 Oct 2010

JPEG Baseline Encoder

Version 1.3.0.0 by Jorgenhoc

This baseline uses an encoding scheme based on the Discrete Cosine Transform (DCT).

The JPEG compression scheme is divided into the following stages:1. Transform the image into an optimal color space.2. Adjust Aspect Ratio 16:93. Digitization Scheme 4:2:0.4. Apply a Discrete Cosine

  • 2.2K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 1 May 2013

PLS-SEM Toolbox

Version 2.4 by Massimo Aria

Structural Equation Model through Partial Least Squares approach (PLS-SEM)

factor scores and weighting schemes can be used. Moreover, it comprises modular routines for computation of bootstrap confidence intervals, model parameters and several quality indices. Numerous graphical

- % Rectangular Covariance Matrix
- PLS-SEM Report: Bootstrap Results
- PLS-SEM Report
- SMDesign_gui Draw and Edit Graphs of Strucutral Model part of PLS-PM
  • 4.3K (All time)
  • 11 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Feb 2016

Stabilization of Inverted Pendulum System using Intelligent

Version 1.0.0 by Salawudeen Ahmed Tijani

Control of Inverted Pendulum using Optimized LQR controller.

A new approach for the design of Linear Quadratic Regulator Controllers using weighting matrices obtained by Metaheuristic Algorithm is presented in this source code. The designed controller is used

  • 94 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 13 Dec 2022

Simultaneous Feature Selection and Weighting – An Evolutionary Multi-objective Optimization Approach

Version 1.0.0.0 by Sujoy Paul

An algorithm for feature selection and weighting to enhance classifier performance.

This is an implementation of the algorithm proposed in [1]. It presents a new feature selection and weighting method aided with the decomposition based evolutionary multi-objective algorithm called

  • 971 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 3 Sep 2015

Quad tree decomposition using varience

Version 1.0.0.0 by Elena

Function performing quadtree decomposition of an image using varience criterion for splitting.

(optionally weighted), then the block is split further. The weighting has an effect on the splitting similar to pre-processing the image using for example a median filter. For example usage see

- qtdecomp_var.m- quadtree decomposition based on variance
- ex_qtdecomp_var- example usqage of qtdecomp_var
  • 1.3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 31 Mar 2010

Weighted Grid Points

Version 1.0.0.0 by Greg von Winckel

Computes the Lobatto points for an arbitrary weight.

Construct a symbolic nonnegative weighting function w(x) on the interval [-1,1] and this script constructs the family of polynomials which are orthogonal with respect to the weight. Then the extrema

- wgrid.m - weighted grid calculator
  • 2.2K (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 10 Jan 2005

Loudness weighting coefficients

Version 1.1.0.0 by Christopher Hummersone

Calculate loudness weighting coefficients based on ISO 226

LOUD_WEIGHT(F,PHON) returns loudness weighting coefficients at the loudness level PHON. PHON should be a scalar and, according to the standard, is only valid at all frequencies such that 20<=PHON<80

- Calculate loudness weighting coefficients
- Calculate duplex weighting coefficients for ITD and ILD
- Apply a near-ideal low-pass or band-pass brickwall filter
- Resynthesise a target from a time-frequency mask
- Convert frame rate mask to a sample-by-sample mask
- Create a monochrome-compatible colour map
- Create a monochrome-compatible colour map
- Apply a time-frequency mask to an STFT
- Calculate cross-correlograms with a range of options.
- Apply 1/N-octave smoothing to a frequency spectrum
- calculate the long-term average spectrum of a signal
- Calculate cross-correlograms with a wide range of options.
- Calculate the short-time Fourier transform of a signal
- Make a series of center frequencies equally spaced in ERB-rate.
- Output a cell array to a CSV file
- Signal pre-processing for Lindemann's cross-correlation
- ISO 226:2003 Normal equal-loudness-level contours
- Calculate the root-mean-square error between input data
- Draw a box plot
- Smooth a vector using mathematical functions
- Create a Contents.m file including subdirectories
- Quantiles of a sample via various methods.
- Get the contents of a specified directory
- Calculate the rms of a vector or matrix
- Calculate the kernel density of a data set
- Find local peaks and troughs in a vector
- Stacked line plots from a matrix or vectors
- Read data from a file tagged with an SVN keyword
- Match the LTAS of a signal to an arbitrary spectral magnitude
- Calculate the Inverse Short-Time Fourier Transform
- Calculate frequency coefficient for ITD-azimuth warping
- Calculate ideal time-frequency masks from STFTs
- Abstract superclass providing audio-related properties and methods.
- Cross-correlation based on Lindemann's precedence model
- Quantile-quantile plot with patch option
  • 296 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 11 Aug 2016

Gammatone-based (auditory) spectrograms

Version 1.2.0.0 by Dan Ellis

Calculates a spectrogram-like time-frequency intensity matrix based on Gammatone filters.

, which can be used as a replacement for a conventional spectrogram. It also provides a fast approximation to this surface based on weighting the output of a conventional FFT. The underlying Gammatone

- Gammatone-like spectrograms
  • 2.4K (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 12 Mar 2009

Automatic Robust NL-means denoising filter for additive and multiplicative noise

Version 1.0.0.0 by Vincent Dore

Automatic Robust NL-means denoising filter for additive and multiplicative noise.

Most denoising methods require that some smoothing parameters be set manually to optimize their performance. Among these methods, a new filter based on nonlocal weighting (NL-means filter) has been

- PURPOSE: To find the PSNR (peak signal-to-noise ratio) between two
- Compilation des mex-files utilises par le script CpNL-means.m
- KSTEST Single sample Kolmogorov-Smirnov goodness-of-fit hypothesis test.
  • 767 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 3 Jul 2011

WNCC - Weighted Normalized Cross Correlation

Version 1.0.0.0 by Andrew Diamond

Performs pattern matching in an image via normalized cross correlation but with a weighted template

largely ignore anything not very close to a cross shaped ROI. In particular, this weighting will allow the artifacts to be ignored. The improved result (note colorbars) is shown in the WNCC image (bottom

- function cross_corr = xcorr2_fast(T,A,RetSizeOpt)
  • 1.6K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Oct 2011

Weighted and unweighted linear fit

Version 1.0.0.0 by Ebo Ewusi-Annan

Fit data points with different standard deviations by weighting them.

% This code fits makes a linear fit to a data set (using y =bx+a) where each data point% has a different or constant standard deviation. Your data should have three or two columns.% The first column

  • 1.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Dec 2011

fSGolayFilt

Version 1.3.0.0 by Jan

Fast Savitzky Golay filter as multi-threaded C-Mex

fSGolayFilt is a fast polynomial smoothing filter for uniformly spaced signals. This implementation offers less flexibility than other versions found in the MATLAB Central (eg. from Jianwen Luo

- Fast Savitzky-Golay polynomial filtering [Call MEX]
  • 4.6K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Jun 2010

Steganography using LSB substitution

Version 1.0.0.0 by Ashish Soni

The term steganography means “cover writing”

This is a simplest steganographic technique that embeds the bits of secret message directly into the least significant bit (LSB) plane of the cover image. In a gray-level image, every pixel consists

  • 6.7K (All time)
  • 3 (Last 30 days)
  • 3.5 / 5
  • Community
  • 16 Apr 2013

Feature Selection Based on Interaction Information

Version 1.0.0.0 by Stefan Schroedl

Self-contained package for feature selection based on mutual information/interaction information.

This is a self-contained package for running feature selection filters: Given a (usually large) number of noisy and partly redundant variables and a target choose a small but indicative subset as

  • 4.5K (All time)
  • 2 (Last 30 days)
  • 4.7 / 5
  • Community
  • 17 Mar 2010

Solve Riccati Differential Equation (solve_riccati_ode)

Version 3.1.0 by Tamas Kis

Solves the Riccati differential equation for the finite-horizon linear quadratic regulator.

final time, or as a 1×(N+1) vector of times [t0,t1,...,tNminus1,T] at which to return the solution for . It is assumed that the cross-coupling weighting matrix is .[t,P] =

  • 316 (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jul 2024

Low sidelobe taper design for uniform linear arrays using the iterative Fourier technique

Version 1.0.0.0 by Will Keizer

The function SidelobeSynthesis synthesizes using the iterative Fourier technique for a linear array

SIDELOBESYNTHESIS computes for a linear array antenna with uniform element spacing an amplitude taper that matches the user defined sidelobe level (SLL) requirement. The program applies the iterative

- SIDELOBESYNTHESIS computes for a linear array antenna with uniform
  • 2.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Oct 2008

DIGITAL BEAMFORMING

Version 1.0.0.0 by King Fisher

plots the beam pattern of antenna arrays.

This function provides a user a utility to plot the beam-pattern of linear isotropic arrays by providing the inter-element distances, corresponding weightings and/or steering direction of the beam.

  • 11.2K (All time)
  • 2 (Last 30 days)
  • 3.1 / 5
  • Community
  • 1 Apr 2016

Lucas Kanade affine template tracking

Version 1.2.0.0 by Dirk-Jan Kroon

Lucas Kanade affine template tracking , also robust inverse in c-code.

contains pixel weighting for more robustness.Literature:S. Baker et Al. "Lucas-Kanade 20 Years On: A Unifying Framework"D. Schreiber, "Robust template tracking with drift correction"Demo:Try the TTdemo.m

  • 14.7K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 1 Oct 2009

dist_from_coast.zip

Version 1.2.0.0 by Dan Chavas

determine minimum distance to a coastal point

(non-vectorized); mean distance with cos(latitude) weighting, which is less precise but fast.Also includes option to only return distances less than a threshold value. This greatly increases speed for cases with

- dist_from_coast.m - determine minimum distance to a coastal point
- VDIST - Using the WGS-84 Earth ellipsoid, compute the distance between
- dist_from_coast_example.m - test example of dist_from_coast.m
  • 976 (All time)
  • 2 (Last 30 days)
  • 4.0 / 5
  • Community
  • 28 Aug 2014

Load more