M-files accompanying the webinar titled "New Approaches to Constrained Optimization in MATLAB" held on November 05, 2005
These files provide what you need to run the two demos: 1) The first demo is a demonstration of bound constrained optimization of non-smooth objective function using GA and also using a Hybrid function (using GA with another optimization solver). The demo can be run by the either...
Example of how to call API in Matlab. Open, close CD, maximize, minimize window Start with matlab_api.m and try buttons in gui. If your want to compile mex-file, you should setup compiler: mex -setup. Then type: mex...
How to fit a 2D Gaussian function to noisy data in Matlab? Or data with another number of dimensions and arbitrary fit function?
It took me a while to find out how Matlab does this by the functions lsqcurvefit, fmincon or fminsearch....
TXTMENU is similar to the built-in Matlab function MENU but has the following changes to make navigation around menus faster: 1. The menu is text-based in the command window so time isn't wasted generating a GUI menu and the user does not...
arrayadapt provides a convient way to access mxArrays in MATLAB's .mex files. The 'ArrayAdaptor' class template can be specialzed for one of the builtin numeric types and a fixed number of dimensions. It allows for subscripted
Convert Right Ascension/Declination angles in degrees to Altitude/Azimuth in degrees for an Alt/Az telescope mount. Input: RA - Right Ascension in degrees Dec - Declination in degrees Latidute - Observer's Latitude (Negative for...
The script is a good demo technique to show how complex numeric data can be exported and imported in MATLAB
1. Introduction
Enough debate has been devoted from time to time to the luck of "go to" in Matlab. Ourselves being somewhat devoted followers of structured programming, we rarely use it in our FORTRAN applications...
This contains the demo files and the presentation PDF file used in the "Introduction to Object-Oriented Programming in MATLAB(R)" Webinar, which was delivered in April 2009. These are meant to augment the Webinar, not replace it. Check...
Matlab/Octave to Python conversion facility. The tool will take existing scriptsand convert them to Python. Also includes Python bindings to Octave anda small runtime support library. Built on top of Numeric Python extensions.
Explain why we use fftshift(fft(fftshift(x))) in Matlab instead of fft(x). An example is given. The example and Matlab codes are partially copied from Daniele Disco d-de?s work in "A guide to the Fast Fourier Transform, 2nd Edition".
MATLAB in Physics is four lecture series in MATLAB that is offered to first year physics undergraduate students. The aim of this lecture series is to introduce students to computational methods in MATLAB to solve problems arising in...
MATLAB in Physics is a four lecture series in MATLAB that is offered to first year physics undergraduate students. This lecture shows how to use MATLAB to simulate physical systems using a range of methods. Projectile motion is...
MATLAB in Physics is a four lecture series in MATLAB that is offered to first year physics undergraduate students.
This lecture shows how to use MATLAB to fit experimental data such as that obtained in undergraduate physics experiments....
Provides an example Server / Client written in MATLAB that utilises the ability to call Java inline to perform message communication using TCP/IP.
Importantly it does not require any pre-compiled DLLs or force you to compile some MEX...
A script containing the methods used to develop a principal components analysis in MATLAB is presented. The results are analyzed and plotted in different ways in order to interpret the information. The script is presented in Spanish and English....
A cross platform binary (database) to xml conversion tool written in java language. Uses the well accepted XML structured template files for the conversion definitions. Easy-to-use features supported with java GUI for advanced users as well as...
% printgif(varargin) prints gif files in matlab % printgif accepts all print arguments in varargin. % printgif ignores all printer drivers passed to it % ('-deps', '-dtiff', etc.) % instead it used the -djpeg100' driver and...
This webinar focuses on strategies and techniques for handling large amounts of data in MATLAB, including:
d-deD? Understanding memory and its constraints d-deD? Maximizing system resources d-deD? Minimizing your memory...
This is a complete unit testing framework in Matlab that includes test cases, test sets, automated collecting of complex test trees from the file system, automated parsing of tests to anable the user to just-write-tests, test fixtures, test... |