Polynomial
The gradient function in Matlab allows you to compute the slope of a curve along its entire length. But if your curve is a noisy one, then gradient will also be noisy. In this event one might desire to fit a moderately low order polynomial regression model in a sliding window, then differentiate...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Movingslope Download |
clickfit_OH.m lets you mouse-click a series of datapoints on top of a (noisy) scatterplot and returns a spline or polynomial regression through the clicked dataseries. In addition the clicked series itself is returned.clickfit_OH.m uses an altered version of ginput.m (ginput_OH.m) that from the...
Platforms: Matlab
License: Freeware | Size: 61.44 KB | Download (44): clickfit_OH for curve fitting by eye/hand Download |
Linear feedback shift registers (LFSR) are a simple method of generating sequences, including pseudorandom number sequences. The LFSR code provided is very unrestricted, allowing for any feedback polynomial, initial state or decimation factor. The code is written for a 32 bit LFSR, but minor...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (43): Kasami Sequences, m-sequences, Linear Feedback Shift Registers Download |
This set of functions simply provides an easy way to work with the dispersion relation of surface waves, given by omega(k) = sqrt ( tanh(k*h0) * (g*k + gamma*k^3/rho))where omega is the pulsation (in rad/s), k the wavenumber (in 1/m), h0 the depth, g the gravity, gamma the surface tension and rho...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (39): Dispersion relation for water waves Download |
The built-in legendre() calculates the Legendre polynomials calculated ALL the orders for a given degree. If you only need a given order, this is a waste of memory and computing time (especially for large blocks of data). The function legendreP(l,m,x) is a drop-in substitute for legendre(l,x),...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Legendre polynomials Download |
Given a continuous-time system with parameters, can we find the range (or intervals) of the parameters where the system is stable?When the system model is written with the Laplacian transform, the question is equivalent to finding all the roots of a parameterized polynomial where the real parts...
Platforms: Matlab
License: Freeware | Size: 1.44 MB | Download (40): pmap - Parameter Space Stability Mapping Suite Download |
New users and old of optimization in MATLAB will find useful tips and tricks in this document, as well as examples one can use as templates for their own problems.Use this tool by editing the file optimtips.m, then execute blocks of code in cell mode from the editor, or best, publish the file to...
Platforms: Matlab
License: Freeware | Size: 92.16 KB | Download (45): Optimization Tips and Tricks Download |
Design of a robust digital controller with PPR toolboxThis script shows the basic steps for the "digital two degrees of freedom controller" (2DOF) design with the PPR toolbox.The illustration of our methodology is based on a difficult plant control. To get a 2DOF controller, only 2 "high level"...
Platforms: Matlab
License: Freeware | Size: 163.84 KB | Download (46): Design of a robust digital controller with PPR toolbox Download |
Dynamic Bayesian networks (DBN) are widely applied in modeling various biological networks, including the gene regulatory network. Due to several NP-hardness results on learning static Bayesian network, most methods for learning DBN are heuristic, that employ either local search such as greedy...
Platforms: Matlab
License: Freeware | Size: 1.53 MB | Download (44): GlobalMIT toolbox Download |
The Getfem++ project focuses on the development of a generic and efficient C++ library for finite element methods elementary computations. The goal is to provide a library allowing the computation of any elementary matrix (even for mixed finite element methods) on the largest class of methods and...
Platforms: Mac
License: Freeware | Size: 6.7 MB | Download (44): Getfem++ Download |
The Spline Potential Eigenfunctions Model computes the Schr?*A*dinger equation energy eigenvalues and eigenfunctions for a particle confined to a potential well with hard walls at -a/2 and a/2 and a smooth potential energy function between these walls. The potential energy function is a...
Platforms: Mac
License: Freeware | Size: 1.65 MB | Download (37): Spline Potential Eigenfunctions Model Download |
SparesPOP is a MATLAB implementation of a sparse semidefinite programming (SDP) relaxation method proposed for polynomial optimization problems (POPs). Please send a message to kojima-spop@is.titech.ac.jp if you have any question and/or request. Features . A MATLAB implementation of sparse...
Platforms: *nix
License: Freeware | Size: 563.2 KB | Download (34): SparsePOP Download |
pycrc is a free, easy to use Cyclic Redundancy Check (CRC) calculator and source code generator pycrc provides CRC reference implementations in Python and a source code generator for C. The used CRC variant can be chosen from a fast but space-consuming implementation to slower but smaller...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (45): pycrc for Linux Download |