This is a general-purpose array editor, developed using GUIDE.
It is called OceanMap because of the purpose for which I designed it. You may wish to change the name.
If necessary, you should find it easy to make the function return the output matrix rather than saving it to a .MAT file.
- The number of rows and columns can be updated actively, without losing data already contained in the matrix
- You should call OceanMap from the command line, as clicking on the .fig file doesnt work: The ActiveX FlexArray doesn't initialise.
- Currently, Multidimensional Arrays are not supported... I'd be pleased to hear if anyone modifies the software for extra dimensions.
- The output matrix DOES NOT CONTAIN row and column numbers, although it wouldn't be a lot of effort to make it do so.
OceanMap was originally created for the purpose of tracking a submersible vehicle using a grid painted onto the floor of a water tank. Technicians use it to input the grid pattern and convert it to matrix form.
A separate piece of software compares the matrix from OceanMap to numbers seen by an on-board camera to compile the track of the submersible.
That'is it Ifound
Mister clark there is nothing wrong in my pc, maybe you should
turn the profile off when you run a new test try this. Especially
before giving low and inappropriate rating.
%% PUT THIS IN A SCRIPT AND RUN IT
% profile on
% profile clear
%Maybe you forgot this !!!!
Npoints = logspace(1,6,15);
lengthN = numel(Npoints);
convhull_times = zeros(lengthN,1);
chull2d_times = zeros(lengthN,1);
for i = 1:lengthN
chull1 = convhull(x,y);
convhull_times(i) = toc;
chull2d_times(i) = toc;
% profile viewer
ActiveX objects do not (usually) have a visibility property. Nor can they be embedded in an uipanel (which of course may be hidden along with it's contents).
The only way to hide activeX objects (that I know of) is to move them:
>move(handle,[x y wdth ht]);
check out the help on move for more info. Don't forget to save the original position so you can move it back!
just a question: is it possible to Hide/unHide the FlexGrid control?
Thank's for good example.
However, I don't know how use the ColWidth property of flexArray. I want to exchange a column width in flexArray. Can you help me?
finally something usefull
You helped me!
Although you used nice sounding function names like savethedamnfile(...), you forgot to use better description tags for the GUI elements.
Updated the feature handles.
Inspired by: M-file Header Template
Create scripts with code, output, and formatted text in a single executable document.