Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB. This article is a guide to getting started and performing practical tasks as well as a reference.
Contents: * Introduction * Getting Started * Inputs and Outputs * Creating an Uninitialized Numeric Array * Calling a MATLAB function from MEX * Calling a MATLAB function handle from MEX *...
MATLAB implementation of IGRF11 fortran code as function for calculating Earth mean magnetic field. Implementation has been modified to default to GPS reference coordinates with output B components North, East, and Vertical. Spherical harmonic...
FORTRAN code provided in Xingguo Pan's 2002 dissertation entitled "Coherent Rayleigh-Brillouin Scattering" was converted to .m and is provided here. Both s6 and s7 models are provided. The code is validated
CMBFAST is a Fortran code developed by U. Seljak and M. Zaldarriaga for calculating cosmic microwave background anisotropy, polarization, and matter power spectra. (See http://cmbfast.org for more information). This Matlab function is intended...
VMatrixLib is a little, handy, Java matrix library which implements a set of utility functions (such as calculus of the determinant of a matrix, calculus of the rank, inverse matrix, and many others..) that anyone who have to use matrices needs.
Ftagshtml converts fortran code into HTML in order to browse and navigate in the call tree for any routine or abstract fortran 90 interface. Compatible with basic C analysis, mixing with fortran 77 and 90.
TANGO Project web page: http://www.ime.usp.br/~egbirgin/tango/
ALGENCAN: Fortran code for general nonlinear programming that does not use matrix manipulations at all and, so, is able to solve extremely large problems with moderate...
FortWrap is a python script that parses Fortran 90/95/200X source files and generates wrapper code in the form of C++ classes. FortWrap is intended to be used with object oriented Fortran code that makes use of Fortran derived types.
CUTE works with all modern browsers without the need of additional plugins.
Example
syms a b c d e f g h i; cute ({inv([a, b, c; d, e, f; g, h, i]); ... sqrt(sinh(a)/acosh(b) - ... 42*log(c)) + ... ...
This function give an approximation of cmulative bivariate normal probability. The program is written in C and based on the Fortran code available Commun. ACM oct 1973 p638 Algo 462.
We build a Purebasic (www.purebasic.com, see for yourself) source code from a FORTRAN code (either F77, F80 or whatever).
Neodynamic ThermalLabel SDK for .NET is a lightweight class library (DLL) that lets you to design barcode labels and print them to Zebra Thermal Printers (ZPL or EPL) by writing just pure .NET code in VB.NET or C#. ThermalLabel SDK can be used for...
For a given real-valued function of one real variable on an interval, the code calculates the best approximation in the uniform (max) norm by a polynomial of a given degree. Approximating in a uniform norm is much computationally harder compared...
ThermalLabel Editor Add-on is a first-class barcode label designer component for .NET Windows desktop apps (WinForms & WPF) which empowers your own apps by providing an end-user visual label editor! It features visual aids for the creation of...
Have you ever wanted to call the engCallMATLAB function, only to realize that it isn't available? Well, now it is! This Fortran routine mimics the functionality of the mexCallMATLAB function, but for engine applications. Has the same argument list...
It first transforms to patient coordinates and then to the second coordinates. Both dicom image sets should have the same localizer while scanning. It takes two inputs: dicominfo structures (taken by dicominfo mmand) of two image sets. The...
For several different reasons it could occur that we need to produce a signal from the sum of several harmonic components. In the usual case of Fourier analysis, FFT and IFFT are likely the best choice. However it could happen that: - The...
This submission contains an interface to a LBFGS solver for unconstrainted minimization problems of the form
min_{x} f(x) + c*|tilde{x}|,
where x are the parameters, f is a scalar valued real function, c is a positive scalar...
The International Geomagnetic Reference Field (IGRF) is an internationally agreed upon mathematical model of the Earth's magnetic field. This program is a conversion of the FORTRAN subroutines that make the calculation into MATLAB. It does not use...
for Lebedev quadratures on the surface of the unit sphere at double precision. **********Relative error is generally expected to be ~2.0E-14 [1]******** Lebedev quadratures are superbly accurate and efficient quadrature rules for... |