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

11 years ago | 0

| accepted

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

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

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

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

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

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

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

11 years ago | 0

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

11 years ago

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

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

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

11 years ago | 0

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

11 years ago | 0

Answered
Way to handle singularity,Division by zero
Could you calculate the denominator, and if the absolute value is within a certain tolerance you branch the code to a default va...

11 years ago | 0

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

11 years ago

Answered
Any idea about kaleidoscope source code in matlab
This is clearly an image processing project. I think the vast majority of this could be done with: * <http://www.mathworks.c...

11 years ago | 0

Answered
Forward kinematics of a 6 DoF robot in Matlab
There are two aspects to this: Manipulating symbolically, all of the matrices, and solving those matrices. MATLAB is prima...

11 years ago | 0

Answered
A simple 3D plot of a matrix
See the <http://www.mathworks.com/help/matlab/ref/surf.html Doc for surf>.

11 years ago | 0

| accepted

Answered
How can I guarantee data is placed into the correct spot in a matrix?
MATLAB is ones based not zeros based. Does this change your question?

11 years ago | 0

Answered
Fitting a plane to a 3D data
Making Matt's comment an answer: If you search the File Exchange (see link at top of your screen) for "fit points to plane"...

11 years ago | 0

Answered
Admins need to give a reason when they close a question!
I did indeed close this question. It had been tagged "DoIt4Me" and there was already a comment stating it was unclear. I agree...

11 years ago | 2

Answered
How to list files with multiple extensions?
Can you run the command twice with two filters? The results would be two structures of the same format that could then be appen...

11 years ago | 2

Answered
plotyy with different data ranges to visually appear equal.
<http://www.mathworks.com/help/matlab/ref/plotyy.html plotyy> might be the function you seek!

11 years ago | 0

Answered
Function Max for Cell
Why are you storing the results in a cell array? Also, using input command is going to be very frustrating for users. There mu...

11 years ago | 0

Answered
3D plotting of annual data
Since there is not all the data needed, you will need to pad it with NaN. It would look something like this. Data = [1 2 3...

11 years ago | 0

Answered
Coordinates of the surf isolines
There are no isolines on a surf. Do you mean contour? If so, you can capture them as the second output from contour. They are...

11 years ago | 0

Answered
Aligning peaks from multiple shifted data sets
I would start with something like this: <http://www.mathworks.com/matlabcentral/fileexchange/30490-1d-non-derivative-peak-fin...

11 years ago | 0

Load more