Answered
How to set background as black without appearing in colorbar?
Axes have color. You could set the color of the axes. Then you can put NaN in the image on any pixel you want to be 'empty'.

11 years ago | 0

Answered
GUI AXES Object detecting
You are looking to set callbacks on the lines. This is similar: <http://blogs.mathworks.com/videos/2008/01/28/practical-ex...

11 years ago | 0

Answered
Check each pixel for a specific color
MATLAB uses ones based indexing. There is no 0,0 element. Try starting at 1,1. A better way is like this: a = [11 22 3...

11 years ago | 0

Answered
Rock, Paper, Scissors GUI?
<http://blogs.mathworks.com/videos/2013/02/06/introduction-to-gui-building-with-guide-in-matlab/ Intro to GUIDE Video> Check ...

11 years ago | 0

Answered
A problem drawing a graph in matlab
Why not use the built in hist command in MATLAB to get a histogram?

11 years ago | 0

Answered
Problem changing FaceColor in contourm
It has been my experience that when you see a problem where the code works in debug mode, but not when run all at once, you need...

11 years ago | 0

| accepted

Answered
Merge imagesc and plot into same figure
i = magic(10) imagesc(i) imagesc(10:10:100, 10:10:100,i) When you call imagesc, if you do not give an X and Y vect...

11 years ago | 0

| accepted

Answered
How to get the pixel values of an image in binary form?
>> <http://www.mathworks.com/help/releases/R2013a/matlab/ref/dec2bin.html doc dec2bin> This will give you the binary as strin...

11 years ago | 0

Answered
Multi window Gui problem
<http://blogs.mathworks.com/videos/2011/11/23/passing-data-between-guide-callbacks-without-globals-in-matlab/ Passing data betwe...

11 years ago | 1

Answered
how to implement loops in a sturcture
There is a lot of indexing and confusion going on here. I recommend breaking down the problem into smaller, testable pieces. ...

11 years ago | 0

Answered
Plot figures in property editor mode automatically
http://www.mathworks.com/help/releases/R2012b/matlab/ref/plottools.html These tools will 'remember' how they were configured ...

11 years ago | 0

Answered
how do i retrieve the values from a plotted graph?
>> h = plot(rand(1,3)); >> get(h,'ydata') ans = 0.534064127370726 0.089950678770581 0.11170574419320...

11 years ago | 0

Answered
How to relate or understand this code with math formula?
It looks like it is taking the delta between every vertex in the list and a specific vertex (a or b). It is then squaring t...

11 years ago | 0

| accepted

Answered
how can i display the image in GUI??
<http://blogs.mathworks.com/pick/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/ Video on setting an image in a G...

11 years ago | 0

Answered
What is status for?
To let you know the status, or output of the function. It varies based on each function. Read the doc for each function for de...

11 years ago | 0

Answered
Play recorded video on gui and take frame from it
<http://www.mathworks.com/help/releases/R2012b/matlab/ref/videoreaderclass.html VideoReader class>

11 years ago | 0

| accepted

Answered
Function fullfile, how does it work?
<http://www.mathworks.com/help/matlab/ref/fullfile.html Doc fullfile>

11 years ago | 2

| accepted

Answered
If mouse click in this rectangle, display rectangle in green
You need to set callbacks on the rectangle. http://blogs.mathworks.com/videos/2008/01/28/practical-example-adding-callbacks-t...

11 years ago | 0

Answered
Calculating dt inside a function
Can you pass told into the function? If not, <http://www.mathworks.com/help/matlab/ref/persistent.html persistent> might help...

12 years ago | 0

| accepted

Answered
Smoothing a 2d matrix (DEM)
>>Doc <http://www.mathworks.com/help/matlab/ref/interp2.html Interp2>

12 years ago | 0

Answered
Matlab 2012b - What happened to the Cell Mode tool bar?
1.) Select the numeric value, right click to get context menu. It is the 'Increment and run' 2.) Edit with Shortcuts and qui...

12 years ago | 0

Answered
Speeding up exhaustive search
This is going to be so dependent on your problem. Is it smooth? Can you start with a 3x3x3x... grid, then search in the mo...

12 years ago | 0

Answered
creating more efficient loops
Your naming convention is what is making this hard for you. I would use a cell array of cells, so you can loop through all the ...

12 years ago | 0

Answered
displaying a 3D dataset
This looks like a job for <http://www.mathworks.com/matlabcentral/fileexchange/764 sliceomatic> Just put your images into a 3...

12 years ago | 0

Answered
Plot x y and time
This is a 2-d histogram problem. http://www.mathworks.com/matlabcentral/fileexchange/29709-function-to-make-a-2d-histogram ...

12 years ago | 0

| accepted

Answered
Statistical features from a vector
All of them exist as functions in MATLAB. Search the doc for each one of those, and you should find the specific function. S...

12 years ago | 0

Answered
Please help with "parfor" not working!!! Don't know what's wrong!
From the comments: Ah...... Got it fixed. I just had to move the "temp_up" variable from outside of the parfor loop, to...

12 years ago | 0

| accepted

Answered
How can I make auto deletable my Main-GUI (*.exe) programm in specific date/time to prevent extra use?
This is a bad idea. Do not do this. People will be able to undo it anyways. That being said, just call out to the system to...

12 years ago | 0

| accepted

Answered
Error in converting decimal to binary
>> a = [-5; 5]; middle = 2^4+a dec2bin(middle) middle = 11 21 ans = 01011 ...

12 years ago | 0

Answered
Algorithm to find repeated pixel values in an image
im = imread('pout.tif'); vi = (im > 60) & (im < 80); imshow(vi)

12 years ago | 0

Load more