Answered
Extract outline of polygons defined by gridded mask
This reminded me of this blog post by Steve: <http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-...

13 years ago | 0

Answered
Changing Matlab error message
Use |try/catch| to catch the exception (error). Then throw your own error of choice inside the catch block. try your_...

13 years ago | 2

Answered
small question about find function
<http://www.mathworks.com/matlabcentral/answers/57444 FAQ>

13 years ago | 2

Answered
Define an array with variable
<http://www.mathworks.com/matlabcentral/answers/57445 FAQ>

13 years ago | 1

| accepted

Answered
Hide and disable uicontrols in groups
If you are writing the GUI programatically, I suggest writing your own |uipanel| class. This class would wrap around a regular ...

13 years ago | 2

Answered
How to convert pixel cordinates to spatial cordinates.??
|imcrop()| uses pixel coordinates. What do you have?

13 years ago | 0

| accepted

Answered
Using RegEx (strrep) on CharArray with For Loop
Two easy ways: If the data is indeed all column-aligned, how about: data(:,[5 8]) = '/' data = data(:,1:end-4); If t...

13 years ago | 2

Answered
How can I select an axis of a GUI figure by clicking on it in order to ploting it to a seperate figure outside of the GUI?
Great Monday morning warmup question! +1 function OpenSubPlotInNewFigue for ii = 1:4 %Create f...

13 years ago | 0

| accepted

Answered
perfect working ocr code
No. There is no such thing. I mean I can't even read my own handwriting...

13 years ago | 2

Answered
Identifying and marking image regions
The concave hull is by definition ill-defined without some other knowledge. See this thread for more information and specific...

13 years ago | 0

Answered
Passing information between arrays
What's wrong with: tableName = name3d ? It looks like it's already the desired result.

13 years ago | 0

Answered
Urgent Help with Iterating Vectors on MATLAB
well first off, v(1) = [1; 0]; This attempts to stick two elements (a 1 and a 0) into one spot (v(1)). So this won't wo...

13 years ago | 0

Answered
how do i add a background image to the main GUIDE window
Create an axes that is the size of the entire figure window. Set it's stacking order to be on the bottom. Then, in the GUI's...

13 years ago | 0

Answered
TriScatteredInterp Issues - Function to Fit Data
You are defining _y1_ as a single column. Thus you have a x and y both as column vectors and no z. So this is not a 2d problem...

13 years ago | 0

Answered
How to use "trapz" on a double integral?
Instead of using |trapz|, try |integral2()|. doc integral2 If you are on an olde release that does not have |integral2|,...

13 years ago | 0

Answered
Handling different radio buttons
<http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples FEX:Matt's GUIs> Looks like gui_8

13 years ago | 0

Answered
What's the Default Light from Figure Toolbar > Insert Light
surf(peaks) Interactively add light hLight = findobj(gcf,'type','light'); get(hLight) And of course for more info:...

13 years ago | 0

Answered
Making a touchscreen keyboard using GUIDE pushbuttons
I just answered something similar last week: <http://www.mathworks.com/matlabcentral/answers/72411#answer_82548> As for ...

13 years ago | 1

| accepted

Answered
How do I generate a random number in an interval?
See *Example 1* in: * <http://www.mathworks.com/help/releases/R2013a/matlab/ref/rand.html |doc rand|>

13 years ago | 0

| accepted

Answered
Matlab Guis setapp/getapp as global variables?
You are setting the application data to the root, i.e. 0. This will persist throughout the entire MATLAB session unless you cal...

13 years ago | 1

| accepted

Answered
How to group/filter same values from different matrixes and their columns?
I'm still not totally clear on what you expect. But you might be interested in these: <http://www.mathworks.com/matlabcentra...

13 years ago | 0

| accepted

Answered
Performance impact of using package folders
There is unfortunately a bit more overhead in the function call when calling packages. Here is the timing I did: With this f...

13 years ago | 0

Answered
Can we vectorize this kind of for loop?
I wouldn't bother vectorizing this. <http://www.mathworks.com/matlabcentral/answers/40977#answer_50587 My Thoughts on FOR-loo...

13 years ago | 0

Answered
Stack on index digits
idx2 = str2num(regexprep(num2str(Idx),'([0-9]+)','2$1')) But why do you want to do this? This sounds like there might be a...

13 years ago | 0

| accepted

Answered
multi core full control
With the Parallel Computing Toolbox you have direct access to the MPI library low-level functionality. This enables you to use ...

13 years ago | 1

Answered
converting binary image to rgb image back after enhancing to show the enhancement
You could use |label2rgb()| to do this. doc label2rgb Then you can pick your two colors. Or you could just show it with...

13 years ago | 0

Answered
Cell aray genetic algorithm crossover question.
Yes, the parents are passed into this function as input. Is this what you are asking?

13 years ago | 0

| accepted

Answered
How can i get rows in a multidimensional array to be a new array?
Why do you want this? It's much easier to just index into your multidimensional array than to have many arrays. Think about ho...

13 years ago | 0

| accepted

Answered
How to apply filter to smooth data?
doc smooth If you have the Curve Fitting Toolbox.

13 years ago | 0

Load more