Bradford Factor
View factor is a MATLAB function that uses the CDIF (contour double integral formula) to calculates view factors between planar surfaces(polygons), no matter what are the shape and the orientation of the two figures.All you need to enter is the coordinates of the vertices that define the outlines...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): View Factors Download |
Exercises and case studies for a rigorous approach to risk- and portfolio-management. This booklet stems from the review sessions of the six-day ARPM bootcamp.Contents include:Advanced multivariate statistics; copula-marginal decompositionAnnualization/projection (FFT, cumulants,...
Platforms: Matlab
License: Freeware | Size: 1.46 MB | Download (45): Exercises in Advanced Risk and Portfolio Management Download |
We use the SRK equation of state to compute the correction factor due to gas-phase nonideality as a result of the high pressure applied in the ammonia synthesis. We also compute the extent of reaction. Plots of these two quantities versus pressure for temperature equal to 800K are presented. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Calculation of High-Pressure Chemical Equilibrium: Case of ammonia synthesis Download |
The absorption coefficient can be obtained empirically by using Thorp's formula.Thie formula that used in the code is generally valid for the frequencies above a few hundred hz.The absorption coefficient is used to find the absorption loss part of the path loss in underwater wirelss...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): The Matlab code for absorption coefficient in underwater wireless communication networks Download |
First-order-degree linear differential and non-homogeneous equation's solution possible the unknown integration multipler technique. Also, this simple technique's depend both sides of original homogeneous differential equation. The solution is slightly and more complicated if this integration...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): First-Order Degree Linear Differential Equations (Integration factor Ig=x^a*y^b) (Update: 23-06-07) Download |
An image in your root directory can be zoomed by calling the above program.*First try with a small image. Because when the image is smaller, program response quickly.How to Run the Program*copy bilinear_zoom.m file and the image file to your work directory.Example-*if the name of image in root...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): image processing-zooming an image using Bilinear interpolation Download |
Data density can be hard to read from scatter plots due to overstriking. I therefore calculate data density at each pixel as the reciprocal of the sum of squared distance from each point, adding a fudge factor to prevent points actually within the pixel going to infinity.The resulting plot allow...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Data density plot Download |
This program replicates the theory given in paper "Multi-Factor Models of the Forward Price Curve" by CARLOS BLANCO, DAVID SORONOW & PAUL STEFISZYNRun simfwrdcurve.m first and then simfwrdcurv2.m.simfwrdcurve.m computes the volatility functions to calculate the principal components for each month...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 686.08 KB | Download (39): Simulation of Forward Curve using PCA (principle component analysis) Download |
Implementation based on:"Finite-Element Discretization Of Static Hamilton-Jacobi Equations Based On A Local Variational Principle"by F. Bornemann and C. RaschComments:1. There is no restriction on the type of triangulation, i.e. it does not need to be acute. But the method will require more than...
Platforms: Matlab
License: Freeware | Size: 307.2 KB | Download (44): Hamilton-Jacobi solver on unstructured triangular grids Download |
after downloadingto run program, enter damping(r,R,h,l,m)m=mass of bobh=height to which bob is thrownl=damping factor(i.e gamma=(l/2m))r=length of pendulmr=radius of bobenter ur values...for programm..enjoy...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): damped simle pendulum Download |
y = units(x,'unit1','unit2') - Converts x from physical unit1 to unit2example: units(1,'in','mm') = 25.4The following units are supported:Acceleration: m/s^2, cm/s^2, mm/s^2, ft/s^2, in/s^2, GAngle: rad, deg, revArea: km^2, m^2, cm^2, mm^2, ym^2 (square-micrometer), sq-mile, sq-yd, sq-ft, sq-in,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): units.m Download |
This zip file contains nine functions related to the generation and use of code sequences. The functions are:1) corr.m calculates estimates of the periodic and aperiodic cross-correlation function.2) gold.m generates binary Gold code and orthogonal Gold code sequences.3) goldlike.m generates...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Coding Utilities Download |
Simple function to calculate melt rates in meter water equivalent per year for a digital elevation model (DEM) based on positive degree days factor (PDD) using seasonal variation.User can specify factors: mean annual temperature, PDD_ice, seasonal variation in degrees and year length.Approach...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): PDD Melt Download |
Value-at-Risk calculation for portfolio stocks using variance-covariance, historical and MonteCarlo methods. Portfolio can be larger as you want including either the risk factor (stock index, currency, etc.)
Platforms: Matlab
License: Freeware | Size: 276.48 KB | Download (52): PortVaR Download |
Function HEDGEDEMO aims to help students and instructors of finance visualize trading demands of simple static or dynamic value-hedging strategies. In a single-factor setting, 2-asset hedge portfolios are constructed to match, at a point in time, value and delta of the hedged portfolio,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 256 KB | Download (41): Visualize dynamic hedging Download |
zooming a given image by a given positive factor can be done..copy nearest_neighbor_zoom.m file and the image file that should be zoomed to your work directory.if the name of the image file is image.jpg and the zooming factor needed is 2.23,run following command on command...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): zooming an image using nearest neighbor interpolation Download |
IIR Increases the resolution of an image by interpolationB= IIR(inputfile,f) returns the image stored in file 'inputfile' with resolution increased by factor f in both dimensions. 'filename' must be a valid graphic file (jpg, gif, tiff, etc.). It can be grayscale or color.Parameter 'f' is the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Increase Image Resolution Download |
an perform a mixed-model ANOVA on simple designs with one between-subjects factor and one within-subjects (repeated-measures) factor and either display a results table or simply return the values within.See comments at top of file for full information.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Mixed (Between/Within Subjects) ANOVA Download |
Affinity propagation clustering (AP) is a clustering algorithm proposed in "Brendan J. Frey and Delbert Dueck. Clustering by Passing Messages Between Data Points. Science 315, 972 (2007)". It has some advantages: speed, general applicability, and suitable for large number of clusters. AP has two...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (45): Adaptive Affinity Propagation clustering Download |
It calculates the Tillson moving average. The user is able to change the parameters such as the smoothing sweeps and the volume factor
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): TillsonT3 Download |