Datagridview Selected Row Value
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 |
A Lambert-orbital boundary value problem can be stated as"Find the orbit/trajectory of a spacecraft that flies from position [r1] to [r2], taking a time [tf] and making [m] complete orbits before arriving at [r2]. "The solution to each Lambert-problem is NOT unique; one can travel to [r2] via the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Robust solver for Lambert's orbital-boundary value problem Download |
B3MSV Bidirectional Branch and Bound(B3) subset selection using the the Minimum Singular Value (MSV) as the criterion.Consider the following subset selection problem:Given a tall (m x n, m>n) matrix, A, to find n rows of A such that the resulted n x n square submatrix has the largest MSV among...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Bidirectional Branch and Bound Minimum Singular Value Solver (V2) Download |
Simple example showing how a value neutral hedge is determined for the UK power (electricity) markets.HedgeControl Function for power hedging of Balance of Month, Monthly and Seasonal products based on value forward preservation hedging, i.e. uses the forward curve to determine the value neutral...
Platforms: Matlab
License: Freeware | Size: 112.64 KB | Download (51): UK Power Value Neutral hedge Download |
NGRAV computes the normal gravity value (in m/sec^2 unit) of a point with the geodetic latitude defined in GRS80 ellipsoid,which is the more up-to-date and internationally adopted reference ellipsoid.The normal gravity value is used for the computation of the gravity anomaly which removes the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Normal gravity value using Somigliana's formula Download |
The ref() returns row-echelon-form of nxn matrix.Example>> a=[1 2 3 5; 2 4 5 6; 7 3 7 2; 2 4 1 8]>> ref(a)result show a row-echelon-form
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Row Echelon Form Download |
Simulation of Absolute-Value Output Circuit is carried out with operational amplifier,diodes and other components available in Simscape 2.1 version. Regardless of the polarity of the input signal, the output of the circuit is always positive going and this is displayed in the scopes.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Absolute-Value Output Circuit Download |
ARMAX-GARCH Toolbox (Estimation, Forecasting, Simulation and Value-at-Risk Applications)The ARMAX-GARCH Toolbox estimates, forecasts and simulates a large variety of ARMA and GARCH models with different distributions and for any order of AR(n), MA(m), ARCH (p) and GARCH (q) effects as well as it...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 235.52 KB | Download (46): ARMAX-GARCH Toolbox (Estimation, Forecasting, Simulation and Value-at-Risk Applications) Download |
The MATLAB file contains a method to find the value of pi. This is just an extension of the general method of finding pi from within a circle. It uses 3D-matrices and some more stuffs, which can be very helpful for educational purposes. Also, do change the values in the file, to see for yourself,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): An extended method to find the value of pi using random numbers inside a sphere.. Download |
This function retrieve the student distribution value for a given alpha and degree of freedom value.Inputs: a = can be any alpha value n = number of data pointsOutput: st = value of the student distribution alpha = the alpha value used perc = the corresponding percentageComment: a can be...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Student distribution value Download |
Search value 'v' in sorted vector 'x' and find index and valuewith respect to vector x that is equal or closest to 'v'.If more than one value is equal then anyone can be returned(this is property of binary search).If more than one value is closest then first occurred is returned(this is property...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Search closest value in a vector Download |
Input:z valueOutput:One tail and two tail p-value.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Return a p-value from a given z (standardized distribution) Download |
This function calculates the percentage of time that a given 3D Matrix exceeds some threshold value.It counts each point along the 1st Dimension that exceeds the threshold and expresses this as a percentage of the length of the 1st Dimension. This is repeated across the 2nd and 3rd Dimensions....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Percentage Exceedence of a 3D Matrix for a Threshold value Download |
Convert a single positive numeric scalar value into a string giving that value as the multiple of an IEC/ISO binary prefix. The binary prefix may be selected to be either the full name or the symbol, the symbol is default.The function automatically uses the lowest suitable binary prefix.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1024 KB | Download (45): Numeric To Binary Prefixed String Download |
This file contains three m-file which estimate the Value at Risk (VaR) of portfolio composed of two stocks price by using Exponentially Weighted Moving Average.the main function is 'ewmaestimatevar'. For estimating VaR you should use this function. This function also sketch related diagram. at...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Estimation value at risk by using Exponentially Weighted Moving Averagege Download |
Returns the closest value from a list Syntax c = closest(a,b); returns the closest c value in a for each value in b [c,i] = closest(a,b); returns the index i of the closest value in a for each value in b [c,i,d] = closest(a,b); returns the difference d of the closest value in a for each value in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Closest value(s) from a list Download |
The matlab conv function doesn't provide a way to perform column-wise/row-wise convolution of matrices. Using a loop can be time-consuming. This new function performs this kind of convolution using only matrix operations and fft/ifft. The key to this implementation is the proper zero padding of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Fast Matrix Column-wise/Row-wise Convolution Download |
Sometimes, rows or columns (or both) of a displayed matrix or vector have different meanings, and it would be nice to display them along with the matrix (instead of, say, remembering that the third row holds a given property of a set of data points). This function allows you to specify strings...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): disptable - Display matrix with column or row labels Download |
Efficiently computes the Shapley Value for cooperative games. For n=15 it takes about 30 seconds.As input give the values for all 2^n-1 coalitions in lexicographic order. The file BerekingShapleyfinal.m makes use of the 2 other files.The function Shappie.m computes the Shapley value for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Shapley Value for Cooperative Games Download |
Want to change your Mask fields based on a mask value when (pull down) when you select it?This demo shows how to use the mask button callback to edit the "visibility" field of the mask parameters, essentially 'storing' the 'hidden' values of the other fields. The effect is that the fields of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Dynamic Mask Field Changing from Selected Pulldown Menu Download |