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 coefficients are derived from downloaded Excel file.
Screenshot created by Demo_igrf11syn
The file includes mexfunction code calling "Kinect for Windows SDK" to receive depth data and color image from Kinect and a Matlab code to reshape the information matries. Please see the Readme.txt for usage.
Learn how to use the Profiler tool, vectorized functions, and other tricks to writing efficient MATLAB code. This article includes how to convert any array into a column vector, bounding a value without if statements, and repeating/tiling a vector...
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.
The MATLAB Compiler (v4, R14 onwards) can package MATLAB code into an executable or C/C++ shared library. Calling a C shared library from Fortran, however, can be difficult. The mixed-language issue is C vs. Fortran calling conventions. This is an...
Includes Guides on how to use visual studio to create Matlab compatible Cuda Code, how to compile, debug and run it using various methods, and much more.
This function allow you to perform 2d interpolation for matlab code that have to be compiled to C.
Matlab-invoked Perl code which cleans up syntax in Matlab code you may have downloaded or inherited:
1) gets rid of trailing commas in "switch", "case", "if and "else" statements.
Most of the kdtree code for matlab has been implemented via mex files. I decided to come up with a purely matlab based implementation and so here it is .... The code is obviously expected to be slower than some of the c/c++ implementations that...
Simple user interface with possibility to pick any color and determine MATLAB code for chosen color. It makes possible to copy determined color code en paste it to your color specification within m-file of other program code. This color...
Code for calculating the receiver operator characteristic (ROC) and the area under ROC (AUC). AUC is a measure of prediction accuracy, where anything above 0.5 is better than a random prediction.
This is a code for simulation of BPSK receiver using Direct Sequence Spread Spectrum. The performnace is evaluated in presence of AWGN and Rayleigh fading. Jakes' Model has been used to obtained coefficients for rayleigh fading.
Platform: Matlab 6.5
The project provides a graphical user interface made d-deOCÂ¦d-deOCÂ¦in GUIDE.
Consists of Delta Modulation and Adaptive Delta, which are modulation techniques which is one bit quantizer.
Using the IEEE 802.11b specification for 5.5 Mbps CCK, this program demonstrates how a test data is modulated at the transmitter and then demodulated at the receiver. The program has been tested to run on Matlab version 7.
Matlab code for the algorithm published in
V. G. Reju, S. N. Koh and I. Y. Soon, Convolution Using Discrete Sine and Cosine Transforms, IEEE Signal Processing Letters, VOL. 14, NO. 7, JULY 2007, pp.445-448.
The following code takes input as 'k' bits of message and then gives the
possible codewords that could be put into channel inorder to transmit
it.Thereafter, it asks the user to introduce an error in any of its bits
and then at the...
Includes webinar slides as a PDF file together with a MATLAB script and a Simulink model to demonstrate filter design, implementation and HDL code generation capabilities with MATLAB, Simulink and featured toolboxes
Simulink model of a dual-tone multi-frequency (DTMF) generator and receiver. Includes bandpass filter bank receiver, real-time soundcard audio, spectrogram of channel and uses Stateflow block to store decoded digits.
NOTE: A version of...
Most of the time we use Simulink to simulate a PID controller. But this files run it as a Matlab code.
Extract the files to the working directory and just run the file PID_ctrl_call.m.
You can vary the PID tuning parameters in the file...
This is a Matlab code for optimizing a plane truss by two methods : Fully Stress Design and Sequential Linear Programming. In SLD, we deal with the Euler buckling condition and some other constraints.