Respondida
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-...

más de 13 años hace | 0

Respondida
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_...

más de 13 años hace | 2

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

más de 13 años hace | 2

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

más de 13 años hace | 1

| aceptada

Respondida
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 ...

más de 13 años hace | 2

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

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 2

Respondida
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...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 2

Respondida
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...

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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|,...

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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:...

más de 13 años hace | 0

Respondida
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 ...

más de 13 años hace | 1

| aceptada

Respondida
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|>

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 1

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
What is the command for K-means segmentation in MATLAB? What is the command for invoking image processing toolbox from command window?
|kmeans()| is in the Statistics Toolbox. doc kmeans

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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 ...

más de 13 años hace | 1

Respondida
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...

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Cargar más