Examples Argument Essays
Compute the overlap volume between 2 spheres defined in an array.Computation is vectorized, and intersection volume are computed ananalytical way.Input: spheres data presented in an array G of four columns. G contains parameters of the n spheres . G(1:n,1) - x-coordinate of the center of spheres,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Analytical intersection volume between two spheres Download |
This function addresses two of the major shortcomings of the M-Lint report which is available in the MATLAB Directory Browser. Firstly, it will perform a recursive analysis, i.e. the current directory and its subdirectories and their subdirectories etc. Secondly, it allows the user to filter out...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Run M-Lint on a directory tree and filter results Download |
Unit testing is great, but it can seem like overkill to make a whole new file for every test you want to run. Doctest allows you to embed tests in the documentation of your function (or class or method), so that they're in the same file as the code they test. They can also be valuable...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Doctest - embed testable examples in your function's help comments Download |
A zip file containing the examples that were used in the webinar: "Teaching and Research of Computational Finance with MATLAB"Including:* GUI for pricing an options via CRR tree* Script for priocing via Finitie differences* GUI for pricing via the Monte Carlo method of Longstaff and Schwartz*...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (52): Pricing American Options Download |
Routines for computation of Weber's parabolic cylinder functionsand their derivatives are provided for both moderate and greatvalues of the argument. Standard, real solutions are considered.Tables of values are included. Documentation in pdf format is added.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (44): Parabolic Cylinder Functions Download |
This practical function provides a tool for quickly including a random process within a Monte Carlo Simulation framework.The main input argument, is a string containing commands in Matlab syntax. Each execution of such string is an instance of a random process. The function expressionMCSsamples...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Practical Monte Carlo Simulation Tool Download |
Replaces poissrnd.Improved speed when argument consists of many, wide ranging values.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Poissrnd Download |
These are multiple M files. The examples are from the Agilent seminars.Please visit the Mathworks site for information on future seminars that will demonstrate these examples.The examples include the following...1. Getting Trace Data and plotting2. SA Visualization (also posted standalone in File...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 512 KB | Download (44): Agilent Spectrum Analyzer Seminar Examples Download |
X = DATEPART(DATE,'part') returns the date 'part' (year, month,day, hour, minute or second) of the datenum date with the decimal equivalent of the trailing date parts in the units of 'part'. DATE can be scalar, vector or array and X will be of the some size and shape. [X1,X2,...] =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): DATEPART Download |
The script when run with a matrix as an argument shall create a self-contained LaTex file which shall have the supplied matrix as a simple table. Useful for quickly writing the data into a LaTex document.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): MATLAB Matrix to LaTex table Download |
This function tries to do the opposite of what MATLAB's built-in SAVE function does: with SAVE, variables are written to a binary file if they are included in the input arguments. SAVEX, on the other hand saves all variables by default, except those which are specified by the user. This can be...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): save all variables except what the user specifies Download |
This workspace employs interactive graphics and Muller's method to compute function roots in a rectangular region of the complex plane. Function interact employs surface and contour plots of -log(abs(function(z))) to locate function roots which are read interactively with the graphics cursor and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): complexzeros Download |
setPrompt(newPrompt) sets the Command Window prompt to the specified NEWPROMPT.NEWPROMPT can be one of the following: - a static string: setPrompt('>> ') => this is the default prompt string ('>> ') - an evaluable string: setPrompt('datestr(now)') => the new prompt will look like: '25-Jan-2010...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): setPrompt - Set the Command Window prompt Download |
You can follow the examples given in the codes, to construct your 2-Dfuction in 2-D Laplace transform domain, insert it into the place of our examples, then you can get the inverse 2-D Laplace transform of your function.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): inverse 2-D Laplace transform Download |
Display in command window the size of the variables of the base workspace using KB, MB and GBSYNTAXES:(1) WSSIZE Display preserving the order of the workspace pane using mixed units(2) WSSIZE arg or WSSIZE('arg') One argument syntax(3) WSSIZE arg1 arg2 or WSSIZE('arg1','arg2') Two arguments...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Display ws variables size in KB, MB or GB Download |
Function that take datevalue/datevector as argument, and return number of hours for each day.The user can also give datevalues that correspond to hourly values, and get at correction term in order to correct hour values in DST-format to normalized time.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): DST-function Download |
Draws into a picture matrix (e.g. rgb) consists of: draw_bndry draw_circ draw_clline kochsnowDraws directly into a multidimensional picture matrix (e.g. rgb).draw_bndry:fig = draw_bndry(fig, bndryy, bndryx, clr)draws specified points (boundaries) into picture matrix (figure)draw_circ:fig =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): draw into a picture matrix Download |
Simple examples how one can create gui-applications without Guide or with more simple using GuideWe use nested functions. So this will work only for MATLAB 7.0+14 m-files
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): MATLAB 7 (R14) Download |
GeogrCoordLabel(type, increment, varargin)Function for labeling the current axis with geographic cordinate labels. The current axis range is used.Parameterstype:('deg', 'min' or 'sec')increment:increment between two labels, dependent on choice for typevarargin:'label', var_label(e.g....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): GeogrCoordLabel Download |
Argument values that define tables, fields, field values and condition clauses can be passed to INSERT, UPDATE and SELECT queries.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (47): A Simple MySQL Class Download |