Software Listing of Author : "Malcolm Lidierth"
- adcarray
- License: Freeware
- Price: 0.00


An ADCARRAY object usually contains a memmapfile object, together with a scale and offset to convert the values stored on disc (and pointed to by the memmapfile object) to real world numbers which are returned as double precision. These can also be transformed by a function pointed to by a handle stored in the ADCARRAY object. Referencing an ADCARRAY object as though it were a double precision array e.g. using obj(), obj(:), obj(1:10), obj(2,1:5,10:end) etc, returns a scaled, offset and transformed double precision array regardless of the native format of the data in the memmapfile object. These can be passed as input arguments to other MATLAB functions e.g. s=sum(obj()). Also, the memmapfile object can be replaced by a structure.
- Publisher: Malcolm Lidierth
- Date Released: 06-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- ConvertToEditBox
- License: Freeware
- Price: 0.00


ConvertToEditBox responds to a keyboard input after a uicontrol has been selected with the mouse. The uicontrol is converted to an edit box to receive keyboard entry and the initiating keyboard character is inserted into the box. CAUTION: ConvertToEdit simulates mouse clicks and keyboard input. Read the help
- Publisher: Malcolm Lidierth
- Date Released: 23-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Data cursors for figure window
- License: Shareware
- Price:


Several related functions: CreateCursor sets up a vertical cursor on all axes in a figure. The cursors can be moved around using the mouse. Multiple cursors are supported in each figure GetCursorLocation returns the location of a cursor while SetCursorLocation sets it. DeleteCursor removes a cursor. Objects belonging to each cursor have their handles stored in the figure application data area. Callbacks for each object serve to link their position on the axes.
- Publisher: Malcolm Lidierth
- Date Released: 11-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- DataViewer
- License: Freeware
- Price: 0.00


Data Viewer was developed as part of sigTOOL, a general-purpose data analysis environment aimed particularly at the analysis of biological data (see http://sigtool.sourceforge.net/) It may be useful elsewhere and is made available here in stand-alone form. Data from a single channel are shown across multiple lines. The display can be controlled manually with the scroll controls (see screenshot) or programmatically
- Publisher: Malcolm Lidierth
- Date Released: 25-01-2013
- Download Size: 532 KB
- Download
- Platform: Matlab, Scripts
- Making MATLAB Swing
- License: Shareware
- Price:


A collection of MATLAB classes that provide support for TabbedPanes, SplitPanes, SideBars, Accordions etc within MATLAB. Both MATLAB and Java Swing graphics can be added to the containers. Add the waterloo folder to your MATLAB path and run waterloodemo at the MATLAB prompt to see its features. This submission includes an updated versions of the jcontrol class from this site. Part of Project Waterloo http://sourceforge.net/projects/waterloo/
- Publisher: Malcolm Lidierth
- Date Released: 17-06-2013
- Download Size: 317 KB
- Download
- Platform: Matlab, Scripts
- Making MATLAB Swing More
- License: Shareware
- Price:


GImport supports the import of Java Swing-based GUIs. These can be designed by hand or by using one of the many free GUI designers such as those in Eclipse, NetBeans or IntelliJ IDEA. If you find MATLAB GUIDE-designed GUIs limiting, GImport may be what you are looking for. To import a GUI simply put your jar file on the MATLAB Java class path and provide an instance to the GImport constructor g=GImport(MATLABContainer, mypackage.myclass()); MATLABContainer can be any MATLAB container e.g. a figure or uipanel. The GImport class methods do the work as explained in the accompanying PDF documentation. This includes active layout management that causes the GUIs to resize in the same way as 'normalized' MATLAB figure components. The GImport class provide easy-to-use methods for thread-safe modification of the GUIs on-the-fly, MATLAB...
- Publisher: Malcolm Lidierth
- Date Released: 24-05-2013
- Download Size: 430 KB
- Download
- Platform: Matlab, Scripts
- Mouse Motion Handler
- License: Shareware
- Price:


MouseMotionHandler is a MATLAB class that uses a MATLAB figure's WindowButtonMotionFcn callback as a hook to extend button motion functionality to all handle graphics child objects of a figure including axes, lines, surfaces uipanels, uicontrols etc. MouseMotionHandler provides an alternative to chaining callbacks or having a lengthy switch block in a WindowButtonMotionFcn callback to manage mouse motion effects. MouseMotionHandler puts its own callback into a figure's WindowButtonMotionFcn property. This callback manages the servicing of callbacks for other objects in the figure. It actively determines what is beneath the mouse then invokes a user-specified callback for that object, if one is set. Specify these objects and their mouse motion callbacks using the MouseMotionHandler add and put methods as described below. A...
- Publisher: Malcolm Lidierth
- Date Released: 26-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- MUtilities
- License: Shareware
- Price:


MUtilities is a MATLAB class that provides a collection of static methods similar to, and including some of those in the Java SwingUtilities and the new AWTUtilities collections. ---------------------------------------------------------------------------------- Note Some MUtilities methods require the kcl.jar file for Project Waterloo. This is available as a Netbeans project with source code or as a compiled jar file at https://sourceforge.net/projects/waterloo/ This provides access to the Sun AWTUtilities and some open-source functions available from the Oracle website. Project Waterloo is under development and will grow in the near future. The present files have been posted only for use with these MUtilties. --------------------------------------------------------------------------------- The description below is for Version 3 of...
- Publisher: Malcolm Lidierth
- Date Released: 16-03-2013
- Download Size: 31 KB
- Download
- Platform: Matlab, Scripts
- OpenGL 3D graphics in MATLAB using jzy3d
- License: Freeware
- Price: 0.00


A demo of some features of the jzy3d 3d graphics package from http://www.jzy3d.org/ This PDF describes code for displaying jzy3d OpenGL-based 3D graphics in MATLAB. Code to run these demos is available as a Java jar file at http://sourceforge.net/projects/waterloo/files/ jzy3d uses the JOGL Java bindings to the OpenGL API to generate 3D graphics in Java. These graphics are easily generated in MATLAB and can readily be added to MATLAB figures. For the sphere in the illustration: >> import kcl.waterloo.graphics3D.jzy3d.Factory.* >> [x,y,z]=sphere(32); >> gr=createSurface(x,y,z); >> f = figure; >> [comp, container] = javacomponent(gr); >> set(container,'Units', 'normalized','Position', [0 0 1 1]);
- Publisher: Malcolm Lidierth
- Date Released: 06-02-2013
- Download Size: 2601 KB
- Download
- Platform: Matlab, Scripts
- Sinc Resample
- License: Freeware
- Price: 0.00


If the input is a bandlimited signal containing components at DC - 0.5Fs where Fs is the sample rate, SINCRESAMPLE will return the signal that would have been seen with a higher sampling rate (and the same filter settings). The algorithm depends on the fact that the bandlimited signal is completely defined when sampling at Fs. SINCRESAMPLE returns the data convolved with a set of time-shifted windowed sinc functions, one for each of the samples [1..size(x,1)] in the input signal. End-effects are reduced by adding a reflected and mirrored copy of the data at the beginning and end of each column before resampling. Note that points at the end of Y (and/or beginning if SHIFT is negative) will be extrapolated beyond the boundaries of X. SINCRESAMPLE is a generalization of the method discussed in: T.Blanche & N.V.Swindale (2006) Nyquist...
- Publisher: Malcolm Lidierth
- Date Released: 05-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Using Java Swing components in MATLAB
- License: Freeware
- Price: 0.00


JCONTROL provides an easy way to integrate a full range of java GUIs from the java.awt and javax.swing libraries into MATLAB. Example: obj=JCONTROL(Parent, Style); obj=JCONTROL(Parent, Style,... PropertyName1, PropertyValue1,... PropertyName2, ProeprtyValue2....); Inputs: Parent: the handle of a MATLAB figure/uipanel or other container for the resulting component Style: string describing a java component e.g. 'javax.swing.JPanel', 'javax.swing.JButton' A JCONTROL object aggregates the MATLAB handle graphics container and the Java component (as returned by MATLAB's JAVACOMPONENT function) into a single object. Access to the JCONTROL's properties is provided by GET/SET calls. MATLAB dot notation may also be used. This notation also provides access to the java object's methods e.g. pos=myobject.Position; sz=myObject.getSize;...
- Publisher: Malcolm Lidierth
- Date Released: 11-01-2013
- Download Size: 20 KB
- Download
- Platform: Matlab, Scripts
- VVAR class: a fast "virtual" variable class for MATLAB.
- License: Shareware
- Price:


VVAR uses a pre-existing "scratch" file to store variables and can be used to pre-allocate a huge array much faster than using zeros. On a MacBook Pro with 64 bit MATLAB and 4Gb RAM, creating an 8Gb double array with VVAR was 100x faster than using zeros (1.24s vs 122.3s). Upper limits on array size are system and MATLAB version dependent. See the MATLAB documenation. Note that speed improvements are seen only when the array is too large for the available memory and forces virtual memory use. With some caveats, VVAR instances can be used in much the same way as MATLAB primitive array types, e.g. x=VVAR(10000,10000) % x curently contains garbage (not zeros) so %... %... fill x with data ... %... % Then filter each column e.g.: for k=1:size(x,2) x(:,k)=filtfilt(b, a, x(:,k)); end A VVAR instance is simply a wrapper for the standard...
- Publisher: Malcolm Lidierth
- Date Released: 03-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts