Value Chain Example
Mutating list methods such as 'append' or 'extend' return None instead of the (mutated) list itself. Sometimes, this is not the desired behaviour. To have a reference to the (mutated) list returned is usefull, if one wants to chain commands such as mylistinstance.append(7).sort().
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Changing return value for mutating list methods Download |
This example demonstrates how you can use MATLAB to develop an application that both collects data from an oscilloscope and performs mathematical calculations and visualization on the data. Combining MATLAB with your oscilloscope transforms the scope into a complete test bench station for data...
Platforms: Matlab
License: Freeware | Size: 491.52 KB | Download (45): MATLAB oscilloscope application - example Download |
It's a function that finds the minimum value of a two variables objective function with a deterministic zero order algorithm: simplex method. The input variables are:-fun: inline function of the objective function-init_point: initial point for the simplex method-step_size: initial dimension of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Simple example of the Simplex Method Download |
This is a web application to calculate and plot Black-Scholes option value using MATLAB algorithms. These algorithms are built into Java .jar files using MATLAB Builder for Java. The code shows how to call these algorithms from the Java web application, which runs within Apache's Tomcat servlet...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (48): Black-Scholes Option Value Web Application - Java/Tomcat 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 |
Automatic differentiation is a technique for computing the derivatives of a function using the chain rule. Matlab objects make it easy to implement automatic differentiation. Note that this package is implemented in a rather old version of Matlab. You may need to edit it for newer versions.An...
Platforms: Matlab
License: Freeware | Size: 51.2 KB | Download (44): Automatic Differentiation with Matlab Objects Download |
This is an end to end example of how to use Builder NE (.NET Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.This example shows the "Magic Square" function in MATLAB where a user can specify the size of the...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (47): DotNet Web Example Guide End To End Chapter Download |
This is the first example of Computational Physics, Modeling and Simulating a Physical SystemsEx1: Kepler's Laws
Platforms: Matlab
License: Freeware | Size: 337.92 KB | Download (41): Computational Physics - Example No.1 Download |
This is a tutorial example with many comments, explaining how to insert a slider into a MATLAB GUI, that works just like for example a slider in a browser.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Scrollbar GUI Example Download |
This zip file contains an example of some resources to help engineering students learn MATLAB. They comprise a flash file with voiceover (select player.html to run this) which will discuss some of the m-files also included. The example included is for an introduction to control, but there are...
Platforms: Matlab
License: Freeware | Size: 4.53 MB | Download (40): Getting started with MATLAB (control engineering example) 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 |
This code is related to the scientific articles published in IEEE SITIS 2009 Conference (Supply Chain Risk Analysis: Open Source Simulator) and in The International ACM Conference on Management of Emergent Digital EcoSystems (MEDES 2010) (Using Incentive Schemes to Alleviate Supply Chain Risks)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 163.84 KB | Download (39): Supply Chain Risk Simulator (SCRS) Download |
This is an end to end example of how to use Builder JA (Java Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.This example shows the "Magic Square" function in MATLAB where a user can specify the size of the...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Java Web Example Guide End To End Chapter 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 |
usage:-------------------------------------------------------- [cc] = chaincode(b,u) INPUT:-------------------------------------------------------- b - boundary as np-by-2 array unwrap - (optional, default=false) unwrap code OUTPUT: -------------------------------------------------------- cc is a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Freeman Chain Code 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 |
The logistics map is a classic example of transition from stable to chaotic behavior as a single parameter changes value. This script plots the semi-stable values of x(n+1) = r*x(n)*(1-x(n)) as r is varied.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Logistics Map Download |
I saw that there was no simple example on who to use MS Visual Studio 2005 to make and debug Matlab mex files.The solution added has a readme.txt that specifies filepaths that must be changed to make it work on your PC.
Platforms: Matlab
License: Freeware | Size: 1.4 MB | Download (43): Example: Making and debugging mex with Visual Studio 2005 and Matlab 2007b Download |