Answered
Matlab 2012b on Windows 8?
Hi Razvan, We have a few people here in my department using it and we haven't noticed any issues.

13 years ago | 0

| accepted

Answered
Ho to reduce the table to 1dim?
A |uitable|'s size is determined by the size of its _'Data'_ property. So change that: h = uitable('Data',rand(4,6)); ...

13 years ago | 0

Answered
Function floating point issue
This error doesn't look like a floating point issue but rather a _real_ issue. I.e. at some point it looks like your data becam...

13 years ago | 0

Answered
element wise concatenation of square matrices
cellfun(@squeeze,num2cell(cat(3,A,B),3),'Uni',false)

13 years ago | 0

Answered
"Speed up" functions in plot figure
Add a |drawnow| inside of anything sluggish. The |drawnow()| will flush the event queue which can help the graphics update if t...

13 years ago | 0

Answered
how to use accumarray over a matrix avoiding a loop?
You could always use |accumarray| with two dimensions of _subs_ rather than _vals_: A=[1;1;2;3;3;3]; B=rand(6,10); [xx, y...

13 years ago | 2

| accepted

Answered
nonlinear optimization with fminunc
That's not an error! x = linspace(0,2,100); y1 = (10*(x-1)).^2; y3 = 1./x; plot(x,y1,'b-',x,y3,'r-',1,y1(50),'b*',1,y3(...

13 years ago | 1

Answered
HOW CAN I BREAK A DIAGONAL PIXELS IN AN IMAGE??
Use |makelut()| to make a lookup table that identifies these diagonals and the unse |applylut()| to apply the lookup table to yo...

13 years ago | 0

Answered
Using GUI listbox to display files.
d = dir; uicontrol('Style','ListBox','Units','normalized','Position',[0.1 0.1 0.3 0.5],'string',{d.name})

13 years ago | 0

| accepted

Answered
plotting 13 lines with different colors !!
Use the RGB components explicitly: h = zeros(20,1); figure; hold on for ii = 1:20; h(ii) = plot(1:10,cumsum(rand(...

13 years ago | 1

| accepted

Answered
Unable to load many files at once
Are you making sure to close the files when you are done with them? This is *very important*. The number of file handles is li...

13 years ago | 0

Answered
How to clip surface plot to axes limits?
This <http://www.mathworks.com/support/bugreports/260354 Bug Report> may be relevent. The first step for any obscure graphics...

13 years ago | 0

Answered
Passing Functions and m-files to functions
@Linford, these are the ways we recommend passing extra parameters: <http://www.mathworks.com/help/releases/R2012b/optim/ug/p...

13 years ago | 1

| accepted

Answered
What does this code mean? set(gcf, 'units','normalized','outerposition',[0 0 1 1]);
Set ( |set| ) the current figure ( |gcf| ) to have _'Units'_ be _'normalized'_ and the _'outerposition'_, i.e. the actual border...

13 years ago | 1

| accepted

Answered
Equal condition issue _ I will become crazy
<http://www.mathworks.com/matlabcentral/answers/57444 FAQ>

13 years ago | 0

| accepted

Answered
replacing matrix rows in a loop
X = zeros(100,10); %preallocate for ii = 1:size(X,1) %loop over 100 rows X(ii,:) = rand(1,10); %insert 10 random...

13 years ago | 4

| accepted

Answered
Read data from textfile to use hmmtrain
doc importdata %?

13 years ago | 0

Answered
Data needs to be run for every minute, figured out how to run it for one minute...But not sure how to write a FOR loop for it.
<http://www.mathworks.com/matlabcentral/answers/57445 FAQ>

13 years ago | 0

Answered
How can I associate my load() function with my own file extension when double-clicked in MATLAB?
You should contact support with regards to this. It definitely sounds like a good enhancement request, if not possible in a doc...

13 years ago | 0

Answered
Chi squared test to test if data is from same distribution
How abot anything here: <http://www.mathworks.com/help/releases/R2012b/stats/hypothesis-tests-1.html> Or some of the anova...

13 years ago | 0

Answered
Create non-editable UI controls in a GUI with the figure toolbar
Just set their _'enable'_ property to _'inactive'_. *More* per clarifications. Your event listener idea and current workar...

13 years ago | 0

Answered
Speeding up code: pre-allocation, vectorization, parfor, spmd....
I'll also throw in the use of MATLAB Coder to generate mex files from various pieces of code. Although the milage will vary, yo...

13 years ago | 0

Answered
How can I delay the display of a GUI?
I would pull all of this outside of GUIDE and just have the timer open your GUIDE GUI/splashscreen etc. function openingExa...

13 years ago | 0

Answered
Is there a migration path from gui's made in guide to programmatic gui's?
You can export a GUIDE GUI to a single file from within GUIDE. From here it would be easier to deGUIDEify the various callbacks...

13 years ago | 0

Answered
Storing vectors from a for loop, into a 2d matrix.
Well when _r_ = 1: you index into mat(r<:) But then the next iteration _r_ = 6 and you have: mat(r,:) So you ne...

13 years ago | 0

| accepted

Answered
How to hide web browser while using web function
[~,h] = web('whatever') methods(h) There are some methods in there that _might_ work, but these aren't documented and aren...

13 years ago | 0

Answered
How to clear the memory occupied by matlab??
See the memory management tips linked from the bottom of: doc memory

13 years ago | 0

Answered
Cannot reinstall MATLAB 2012
Talk to your IT department or other licensing administrator. If they can't help you, call MathWorks' Installation Support.

13 years ago | 1

| accepted

Answered
Why do we need 'vid.TriggerRepeat '?
<http://www.mathworks.com/help/releases/R2012b/imaq/triggerrepeat.html> Please read this and reply with what question is not ...

13 years ago | 0

| accepted

Answered
How to reduce the time complexity?
Well first off, don't use |eval()|; it's evil and slow. Second, considering that row never changes, you don't need to icncrem...

13 years ago | 1

| accepted

Load more