Answered
Matlab R2012b Installation on Windows 8 Pro 64bit
Our installation team can :)

13 years ago | 0

| accepted

Answered
hiding legend in plot
Get the handle form the legend when you create it hLeg = legend('example') Then turn its visibility off set(hLeg,'v...

13 years ago | 4

Answered
Finding ranges 2to5, 5to10 and 10to20 out of large values in a large array.
I would use |histc| doc histc

13 years ago | 0

Answered
How did they make this Hexagonal Matrix?...
Probably by making lots of little hexagonal patches. doc patch For more information. *More* because Matt J motivated...

13 years ago | 0

Answered
I'm getting a plotting length mismatch error but my lengths match
dbstop if error Then inspect the |size(of each variable|).

13 years ago | 0

Answered
Stats toolbox did not install
Contact our installation team - it's free for students!

13 years ago | 0

| accepted

Answered
How to convert checkmonotonic in matlab c coder?
I've never heard of the |checkmonotonic|. I would check montonically increasing with: all(diff(x)>=0);

13 years ago | 0

Answered
correct plot3d axis label
This comes from one of our KCS documents which will be published externally within the next 24hrs. surf(peaks); xlabel(...

13 years ago | 0

Answered
is there a layout manager for making Matlab GUI's?
One thing that I've found useful (and I'd never used this tool until recently) is to use the _"Increment Value and Run Section"_...

13 years ago | 0

Answered
Does checkcode return the status of the "Message indicator box", i.e. red/orange/green ?
It looks like you could use |try/catch| and do an |isempty| check on the _ME.stack_: %checkcodetest.m X = [pi for i...

13 years ago | 0

Answered
Write a function named LONG that will use two argument vectors and return the argument vector that has the longer length
Some friends for your journey: doc function doc numel doc max <http://www.mathworks.com/help/releases/R2012b/matlab/ma...

13 years ago | 0

Answered
How can i slip and rotate a color image?
|imrotate| can rotate color images just fine: imshow(imrotate(imread('peppers.png'),42,'crop'))

13 years ago | 0

Answered
Matlab publish command use cases
Here are my use-cases: *preMathWorks:* * In college it was nice for students to do homework with it. You could see the co...

13 years ago | 2

Answered
I'm trying to find the area and the center of a polygon
No reason to reinvent the wheel: doc polyarea And here is a function I wrote for centroid calculation: function [x_...

13 years ago | 1

| accepted

Answered
How to make event based programming in MATLAB
<http://www.mathworks.com/help/releases/R2012b/matlab/object-oriented-design-with-matlab.html I'd start here>

13 years ago | 1

Answered
Grouping data from grp2idx output
If what you have works, I would use it! Just make sure to preallocate the cells befor ethe |for|-loop groupFiles = cell(...

13 years ago | 0

Answered
What function for writeVideo?
doc avifile Maybe.

13 years ago | 0

Answered
uitable create and save
<http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples Always the first place to look>

13 years ago | 1

Answered
Stopping fmincon based on timer
Hi Michael, Here is a small example that does this with a |timer|: function x = demoFMINCONwithTIMER options = op...

13 years ago | 0

Answered
I have 2 axes on a GUI. How to show the cursor on both plots at the same X axis value?
<http://www.mathworks.com/matlabcentral/fileexchange/19877-makedatatip FEX:makedatatip>

13 years ago | 0

| accepted

Answered
convert consecutive ones into alternating one/zero's
One of many ways: double(regexprep(char([0 1 0 1 0 0 1 1 0 1 1 1 1 0 1]),char([1 1]),char([1 0]))) *hint* This is certai...

13 years ago | 1

Answered
How to include functions in Matlab Notebook?
Hi Richard, I don't believe it is possible to include a function definition in a |notebook| (though not positive). What yo...

13 years ago | 0

Answered
fzero-funtion in 20112b
which -all fzero If nothing comes back, restore the default path and rehash the toolbox cache: restoredefaultpath ...

13 years ago | 0

| accepted

Answered
Computing determinants of a 3D array
What's wrong with the |for|-loop? n=100; pages = 1e4; X = rand(n,n,pages); D = zeros(pages,1); tic; for ii = 1:pag...

13 years ago | 1

| accepted

Answered
Relative a movement - biomechanics
Sounds like you will want something from the interpx family: doc interp3 %and friends

13 years ago | 0

Answered
Do anyone have a code for Image processing? Thanks!
Yes. We have the Image Processing Toolbox. <http://www.mathworks.com/help/images/index.html Documentation for the Image Proc...

13 years ago | 0

Answered
hiii when i try to use imwrite appear this problem
It means you likely don't have file permissions. There are several things that could cause this: # Another program could hav...

13 years ago | 0

Answered
error ga optimization: M must be in the range 0 <= M <= 1.
The more information you can give us the better. How are you calling |ga()|? What does your function look like? A Screenshot ...

13 years ago | 0

Answered
Publish matlab code to word with line number
<http://www.mathworks.com/support/solutions/en/data/1-6I79O9/index.html>

13 years ago | 1

| accepted

Answered
How can I plot an intersection volume?
<http://www.mathworks.com/matlabcentral/fileexchange/24484-geom3d>

13 years ago | 0

Load more