Answered
changing values of an edit box on gui while timer is printing on a figure
How are you plotting it? If you update the Data of an existing HG object, focus will not be requested. Consider this example: ...

13 years ago | 0

| accepted

Answered
"mesh" or "surf" display problem on Windows 7
First: update your graphics drivers. Second: you could try the software implementation of OpenGL: opengl software and...

13 years ago | 0

Answered
how to remove some row or column of a matrix at once?
Note you say *row* but the new size of your matrix removed *columns* Here are two ways to remove columns: x = x(:,1:70);...

13 years ago | 0

Answered
How can I sum a matrix in a For Loop?
doc sum ?

13 years ago | 1

| accepted

Answered
Updating multiple image axes with a timer - Images always load to new window not addressed one
*Part 1* The problem is line 67: % Setup timer object handles.guifig = gcf; %ME!!! handles.timer = timer('Period', 1....

13 years ago | 1

| accepted

Answered
Better way to use circshift
v = 0:5; B = gallery('circul',v); B = B(2:end,:); A = repmat(v,[numel(v)-1,1]);

13 years ago | 0

Answered
Changing 'FaceAlpha' on a Patch changes the plot
This is probably because the _'Renderer'_ was not OpenGL before you set the transparency. Since OpenGL is the only renderer tha...

13 years ago | 1

Answered
Using Multiple X- and Y-Axes Command Axis Label
ylabel(ax1,'String','stuff1') ylabel(ax2,'String','stuff2')

13 years ago | 0

Answered
Pushbutton activated by Enter(return) key
You can do this, you just need to feed it the correct inputs. You could probably find these by looking in the property inspecto...

13 years ago | 1

Answered
Force fmincon to output interger values?
Note that using |round/ceil/floor/| and friends this will introduce discontinuities and nonsmoothness into your Objective Functi...

13 years ago | 0

Answered
Counting time between photo shown on screen and some predefined keyboard button pressed
You could use: tic/toc cputime etime etc..

13 years ago | 0

Answered
how to obtain a smoother curve
If you have the Curve Fitting Toolbox, the standout function would be |smooth()| doc smooth

13 years ago | 0

Answered
Selecting a region in an image
doc imrect And friends

13 years ago | 0

Answered
How to check the numbers of characters of a string?
Pedro's code with |numel| as the size check: numel(str)==5

13 years ago | 1

Answered
How can I create a .prj GUI project file from command prompt?
You just need to call |deploytool| with some additional arguments. See the doc here: <http://www.mathworks.com/help/releases...

13 years ago | 1

| accepted

Answered
Does Matlab support destructor function in class?
You will have to write your own |delete()| method for the class. Then when you delete the object, this method is called and it ...

13 years ago | 0

| accepted

Answered
lsqcurvefit.m ... how to find intermediate steps?
You could have your objective function print to a text file explicitly or keep a persistent variable around that stores the inte...

13 years ago | 1

Answered
Plotting .stl files in 3D
I'd start here: <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=stl FEX:query:stl>

13 years ago | 0

Answered
2-D, 3-D, n-D data interpolation - Is it possible to extrapolate?
You can set the _'ExtrapVal'_ to be non-nan: <http://www.mathworks.com/help/releases/R2012b/matlab/ref/interp2.html doc inter...

13 years ago | 0

Answered
key pressed not recognized
If you just comment everything out: function youPress(~,eventdata) disp('hello world') % if eventdata.Key== 'k' % ...

13 years ago | 0

Answered
Why does solve() after sym('x', 'positive') return a negative number?
I recommend against using |ls| and |1s| (ELs and ONEs) as your variable names since it's very hard to read. The solver is ret...

13 years ago | 0

| accepted

Answered
Is calling train with 20 epochs of learning the same as 20 calls to train with 1 epoch of learning?
I'm pretty sure that each call to train nullifies all previous training. Not quite positive though, I'll wait for Greg to chi...

13 years ago | 0

Answered
regions of interest on 3D dataset
The problem is that the Toggle Button Callback does not stop the execution of the loop because the flag is never checked. Wha...

13 years ago | 0

| accepted

Answered
Query regarding 3D mesh-grid
You don't know these vertices! Is vertex 1 connected to vertex 47 or 598 or 32 and 981? You need to come up wiht a way to dete...

13 years ago | 0

Answered
Displaying in command winodw but i need to store in .txt file
You could use diary: doc diary Or |fopen/fprintf/fclose|

13 years ago | 1

| accepted

Answered
3D shape comparison -> % of difference
You could use |imregister()| (if you have R2012b) to align the two image volumes. From here you could do the typical math.

13 years ago | 0

Answered
Output argument "varargout{2}" (and maybe others) not assigned during call error?
The problem is that you overwrite _'h'_ with the handle to the contourgroup so that _h_ is no longer a two-dimensional matrix. ...

13 years ago | 2

Answered
How can I compare row by row to get rid if reciprocols and get corresponding indices
Look at using the various outputs from |unique()|. doc unique

13 years ago | 0

| accepted

Answered
Applying Blockproc on wav audio
You need to use the function handle to |dct|, i.e. |@dct|. y = blockproc('SlavicMood.wav', [256 2], @dct)

13 years ago | 0

Load more