Mxn
This package has solvers for constrained and unconstrained L1 minimization, which is useful for compressed sensing. u = COORDL1BREG(A,f,lambda) solves the minimization problem min_u ||u||_1 subject to A*u = fwhere A is an MxN matrix and f is a vector of length M. Input lambda is a positive...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Coordinate descent for Compressed Sensing Download |
The Toolbox forecasts the volatility of a (mxn) vector of data and from a variety of in-built / non-in-built GARCH models with various distributions, as well as the univariate RiskMetrics. The toolbox also estimates a number of Volatility Forecast Loss Functions and if selected Value-at-Risk for...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (45): Volatility Forecast Toolbox Download |
>> Y = cummean(X,DIM);if X is MxN, Y is also MxN. To illustrate the functionality, lets assume X is a 1xN vector. Then, Y is a 1xN vector where the n-th entry in Y is given by mean(X(1:n)). So, Y(end) = mean(X), and Y(1) = X(1). cumvar works in the same way, and this can be done on an arbitrary...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Cumulative Mean and Variance Download |
A common task in Simulink is to test a certain component of a larger model. With large-scale modeling, such componentization is often accomplished through the use of model reference. These large models also often use bus signals to organize large amounts of signals in the model. The situation at...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Create Bus Data for Models with Root-Level Bus Inputs Download |
Step 1: Find flow direction (find min. potential of all adjacent cells)Step 2: Follow flow direction to sum the cumulative # cells flowing into a given "minimum" cell.Step 3: Find the maximum likely channel location in each E-W direction for a given number of channels.NOTE: The user should make...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): D8 Algorithm for Hydrological Models Download |
This script is similar to fullfact, however instead of number of levels, value of levels are required as inputusage: des_mat = full_fact([-1 1],[100 200 300],[1:4]); arguments: (input) x1,x2, x3- variable levels either in row or column vector. These are not number of levels but the levels itself...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Full factorial Download |
This builds a navigation GUI for navigating n-dimensional convex Pareto surfaces interactively. It requires linprog from theoptimization toolbox, but can probably be replaced easily with a free version. The linear programs solved during navigation are very small and easy. It is assumed that all...
Platforms: Matlab
License: Freeware | Size: 133.12 KB | Download (42): Pareto surface navigator Download |
[SACdata,SeisData,filenames]=SACSUNMAT('file1','file2',...,'filen')reads n SAC files file1, file2, filen with SUN byte order and converts them to MATLAB format. The filenames can contain globbing characters (e.g. * and ?). These are expanded and all matching files loaded.SACSUNMAT( cellarray )...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): sacsun2mat Download |