Answered
PCT: Parfor vs For with one core
Try it! But I can let you know that |parfor| will be slower due to overhead; function test [t1, t2] = deal(0); ...

13 years ago | 0

| accepted

Answered
Guide not generating callbacks
Hi Horace, If you navigate to Tools->GUI Options, is "generate callback function prototypes" enabled? <<http://i.imgur.com...

13 years ago | 2

Answered
adding data to plot 2012a vs 2011a
It sounds like you want the _'NextPlot'_ property to be _'add'_ by default. set(0,'DefaultAxesNextPlot','add')

13 years ago | 1

| accepted

Answered
Vertically stacked subplots with x-axis labels only at the bottom
How about just turning off the _'XTick'_ for ii = 1:9 subplot(9,1,ii); plot(rand(1,10)); if ii < 9 ...

13 years ago | 4

Answered
Interp2.m -- Unclear how to form grid
Taking a brief look at your code, it appears that you have "scattered" data and not "gridded" data. |interp2()| requires that y...

13 years ago | 0

| accepted

Answered
Optimization using GA and FMINCON with more than 12 processors
I'm sure Alan or Seth will have a more concrete answer, but I am pretty sure |fmincon| is limited in how many workers it can use...

13 years ago | 0

Answered
Is it good or bad thing to use handle() constructor on MATLAB Handle Graphics numeric handles?
*Edit* I spoke with the developer who develops uicontrols etc. and he said this approach is okay and good if you're smart and...

13 years ago | 0

| accepted

Answered
Stop a while loop using a GUI
Have the while-loop check if a togglebutton uicontrol has been pushed (i.e. what is it's value). If it has the loop will end ...

13 years ago | 0

Answered
interpolation done without imresize
I would use |interp2| or |griddedInterpolant|. doc interp2 doc griddedInterpolant

13 years ago | 0

Answered
Unexpected behavior of anonymous function
Please <http://www.mathworks.com/support/contact_us/index.html contact us> and reference this thread. That certainly looks li...

13 years ago | 0

Answered
Does mathworks support a classdef inspector?
I don't know of this feature. You should contact us and create an enhancement request. Also: <http://www.mathworks.com/ma...

13 years ago | 0

Answered
slow code editor, how can I speed it up?
One other thing you can do is turn off the Code Analyzer (Preferences-> Code Analyzer) This will help with the latency but do...

13 years ago | 1

Answered
How to vectorize this code to eliminate nested For loops
X = bsxfun(@minus,x(1:nn).',x(1:nn));

13 years ago | 2

Answered
How can I create a logical mask from 3D data points?
<http://www.mathworks.com/matlabcentral/fileexchange/authors/75290 Adam A> has a bunch of files for *.stl meshes and similar. I...

13 years ago | 0

Answered
Using sendmail how can I send the value that are stored in the workspaces explain me with an example
Use |save()| to save the contents of the workspace to a *.mat file. Then include the *.mat file as an attachment using |sendmai...

13 years ago | 0

| accepted

Answered
remove unused callbacks from GUI m files
Yes, you can remove them. Just make sure there is no UItool that requires them first. I would recommend commenting followed by...

13 years ago | 0

Answered
Security implications by Java
Here is the solution we published with regard to last week's Homeland Security (US) warning: <http://www.mathworks.com/suppor...

13 years ago | 0

Answered
Spellcheck functionality in MATLAB editor
Personally, it would drive me crazy (so I would turn it off :) ). Having spellcheck spell check my outlook emails that contai...

13 years ago | 1

Answered
why does GUIDE not save components handles
This is why you never run a GUIDE GUI from the figure. Always run the *.m file associated with it. This creates all of that ...

13 years ago | 1

Answered
Can I install both a 32-bit and 64-bit version of the same license on the same windows machine?
Sure! If the machine is 64 bit you can install a 32 and 64 bit version on it no problem.

13 years ago | 1

Answered
Holding selected iterations for a plot (but not all)
for ii = 1:100 if ismember(ii,[10 25 50 75 100]); hold on; plot stuff; else hold off; end e...

13 years ago | 1

| accepted

Answered
Can Matlab do this without using a for loop?
It looks like you are only saving the output from the final iteration. If you wanted a matrix of every combination, this shou...

13 years ago | 0

| accepted

Answered
Rotate 3D plot in PowerPoint
Thanks for giving my brain one last challenge before I shut it off for the week! Here is something that seems to work. It st...

13 years ago | 1

| accepted

Answered
MATLAB 8 w/Windows 8
Contact Installation Technical Support!

13 years ago | 1

Answered
Is there a simple way to get the figure handle having any child object?
|doc ancestor|

13 years ago | 0

| accepted

Answered
How to remove default ticks from plot
set(gca,'XTick',[])

13 years ago | 0

| accepted

Answered
Unidentified Function error when trying to solve an equation
You need to define k as symbolic before the expression: syms k solve(etc,k)

13 years ago | 0

| accepted

Load more