Community Profile

Malcolm McLean


Weizmann Institute

64 total contributions since 2010

Contact

Contributions in
View by

Submitted


uispinner
UI control to get a scalar from the user, with convenient mouse control.

2 years ago | 0 downloads |

Thumbnail

Submitted


uiraster
Package of functions for an ASCII raster GUI object.

2 years ago | 1 downloads |

Thumbnail

Submitted


qsort
C-style qsort routine that takes comparison function.

2 years ago | 0 downloads |

Thumbnail

Submitted


uidendrogram
Interactive dendrogram viewer using nested boxes

2 years ago | 0 downloads |

Thumbnail

Submitted


seqlogo generator
Generates a sequence logo as a true colour array.

2 years ago | 1 downloads |

Thumbnail

Submitted


Coloured bar chart
Simple wrapper to bar allowing you to specify bar colors and labels.

2 years ago | 1 downloads |

Thumbnail

Submitted


Data density plot
Plots data density of a two-dimensional distribution for human viewing.

2 years ago | 40 downloads |

Thumbnail

Submitted


Faded bar chart
Bar chart add-on that shows the error as a fade-out rather than using error bars.

2 years ago | 1 downloads |

Thumbnail

Responded


Re: Problems with fprintf
You need to put a space between the % escape and the field width. Then fprintf() will left pad with spaces.

6 years ago | 8267 views

Posted


Reasons for which functions are not allowed within scripts?
I often get this problem: I want to run a fairly long calculation on an external dataset. Since I'm hardcoding the path to the d...

6 years ago | 25643 views

Posted


Read a 3 dimensional matrix
It's not a matrix, it's a multi-dimensional array. Which means that most of the standard data formats like csv won't support it,...

6 years ago | 3449 views

Responded


Re: Running an executable gui without matlab
or <orbiener@yahoo.com> wrote in message mcc -m mymainfile.m to get Matlab to generate an exe. However it is quite likely tha...

6 years ago | 7428 views

Responded


Re: Matlab Out of Memory
I supect tyhat, like Windows, the Mac will impose a 2GB limit on each application. matalb itself takes about 500 MB, so if you h...

6 years ago | 2748 views

Responded


Re: data handling in GUI
Callbacks can be local to the function that creates the button. So have a "rndmtx" variable in the workspace of the main GUI fun...

6 years ago | 1855 views

Responded


Re: find_system search results sorted bottom up
Download my qsort() routine from the Matlab File Exchange. It's probably what you are looking for.

6 years ago | 2283 views

Responded


Re: Edit box uicontrol question.
try uicontrol( handleToEditBox ); after you process the click. I'm not sure it will work, however, Matlab is a bit dodgy on fo...

6 years ago | 2833 views

Posted


Gene Ontolgy, sub-ontology woes.
I have a list of GO ids for my enemy organism, Candida albicans. I also have a GO ontology object which appears to be correct. ...

6 years ago | 1646 views

Posted


Memory running out
I'm using Matlab to analyse gene expression data in yeast. Some of the algorithms call for an all-by-all gene matrix, 6167 x 616...

6 years ago | 661 views

Responded


Re: Comparing computational demand of algorithms
You need to be able to do an order analysis of the algorithm, by hand. Is it O(N), O(N log N), O(N^2)? Often there will be two o...

6 years ago | 2475 views

Responded


Re: Generate and save txt file
No need to try anything clever. [m n] = size(cellvariable); fid = fopen('myfile.txt', 'w'); for ii = 1: m end fclose(fid); Th...

6 years ago | 1573 views

Responded


Re: Help with radio button
Normally radio buttons operate in a group - when one is pushed down the others pop up. So Matlab has a special control, called u...

6 years ago | 2258 views

Responded


Re: Dll required for standalone
So I need to copy MCR Installer and go through a Matlab installation process. It's not really satisfactory. I like my executabl...

6 years ago | 1286 views

Posted


Dll required for standalone
I want to present my GUI Matlab program at a conference. I complied with mcc -m main.m and it produced an executable, which app...

6 years ago | 1286 views

Responded


Re: Running MATLAB Script from a PC without MATLAB
Sorry, mcc -m myscript.m

6 years ago | 5162 views

Responded


Re: Running MATLAB Script from a PC without MATLAB
Type mcc -x myscript.m if you have the Matlab compiler, this will generate a standalone executable.

6 years ago | 5162 views

Responded


Re: Putting a calculation in a GUI screen.
Create the button with a callback uicontrol('Style', 'pushbutton', 'Position' [x y width height], 'String', 'Get Energy Consump...

6 years ago | 2438 views

Responded


Re: call a c program in Matlab
You mean a mex file? scanf works on stdin (standard input) which Malab doesn't provide.

6 years ago | 1435 views

Responded


Re: Convert fortran to matlab
You need to type mex -setup to tell mex to use your installed Fortran compiler. Then you need to write a 'gateway' function in ...

6 years ago | 8001 views

Responded


Re: Matlab question
Use a loop [m n] = size(Y); b = zeros(n, m, m); for ii = 1 : n end Now b will be an n x m x m matrix giving all your results. Y...

6 years ago | 733 views

Responded


Re: compiling matlab .m / generating .c (c code) from .m
You can't expect compilers to produce human-readable output. I would imagine that the Matlab .c files can be compiled by passing...

6 years ago | 3407 views

Load more