Answered
the arrow.m does not work any more in matlab 2014b version.
It looks like it is treating a graphics handle as a double precision number. It looks like they are pre-allocating a variable...

9 years ago | 0

Answered
R2014b, where'd 'TitleHandle' go? uipanel
This undocumented feature has been removed in r2013b. You can access the title when you have the handle to the uipanel. Howeve...

9 years ago | 0

Answered
How do I move the legend box closer to the plot-edge? 2014b puts the legend box too far into the plot.
You have control over the position of the figure, and thus its size. Everything that I did for this particular figure could be ...

9 years ago | 0

Answered
How do I move the legend box closer to the plot-edge? 2014b puts the legend box too far into the plot.
I think I see why this looks different for both of us! My normal workflow is to use screenshots so I was posting what I saw on ...

9 years ago | 0

Answered
How do I move the legend box closer to the plot-edge? 2014b puts the legend box too far into the plot.
Now we see why this is important. It is not possible to change the margin padding (either the external or internal), but it is ...

9 years ago | 0

Answered
How do I move the legend box closer to the plot-edge? 2014b puts the legend box too far into the plot.
<</matlabcentral/answers/uploaded_files/19173/legendTwice.png>> I ran this code in both versions. Am I missing something? ...

9 years ago | 0

Answered
Line smoothing in MATLAB2014b
Without knowing what card you have installed, it is hard to answer this. In general, the newer drivers are going to be better. ...

9 years ago | 0

Answered
MATLAB in unexpected places
The is a MATLAB box in the background in the movie Contact when Elie runs in after hearing first message.

9 years ago | 0

Answered
Find n random points with a minimum distance r inside a 2D rectangular box
Here is something stupid that just might work. While NOT_DONE generate a point If NOT too close to existing point...

10 years ago | 2

Answered
Is it possible to add symbols to push button?
http://www.mathworks.com/matlabcentral/answers/45634-how-to-put-a-picture-on-a-button-in-a-gui h = uicontrol set(h,'cd...

10 years ago | 1

Answered
What algorithm does the function convhull use?
It is not clear if you are just trying to site the algorithm you used. http://www.walkingrandomly.com/?p=4767 This shows h...

10 years ago | 0

| accepted

Answered
How to ignore one repeated value in a data set ?
d = [1 2 999 4 5 7 999 8 9] d(d == 999) = nan; plot(d,'o-')

10 years ago | 1

Answered
how to crop an image
im = imread('pout.tif') [r,c] = size(im) per = 0.1 left = round(per*c); right = c-left; top = round(per*r); ...

10 years ago | 0

Answered
how to send a text message
Have you tried sending an e-mail as an alternative? MATLAB can do that too.

10 years ago | 1

Answered
Get the facecolor of a contourf plot
[X,Y,Z] = peaks; [l, h] = contourf(X,Y,Z,4) hp = get(h,'children') get(hp,'cdata') colorbar This gets you the v...

10 years ago | 0

Answered
Final verification URL needed as currently blocked by firewall
Please call install support.

10 years ago | 0

Answered
How to send an sms
This might help http://www.mathworks.com/matlabcentral/fileexchange/16649-send-text-message-to-cell-phone

10 years ago | 0

Answered
How to create a legend with multiple plots?
h(1) = plot(1:5, rand(1,5)+1) hold on h(2) = plot(1:5, rand(1,5)+2) legend('alpha','bravo') <</matlabcentral/a...

10 years ago | 0

Answered
Clearing all empty cells for minesweeper (game) code
I like to ask myself "What is the simplest thing that could possibly work?" This is always going to be fast, so how about this ...

10 years ago | 0

Answered
How do I extract multiple vectors of different lengths from a single vector?
You should store each extracted vector in a cell array. The elements of a cell array do not care if they are different lenths: ...

10 years ago | 0

Answered
how to crop a rectangle/square out of a image when four end points are given ?
In MATLAB, an image is really just a matrix. You could do something like this: m = ones(20,20,3) m(3:8,2:17,:) = 0 i...

10 years ago | 0

Answered
Issue with updating xlabel/ylabel
Can you save the handle of the updated label, and just change the string property?

10 years ago | 0

Answered
Working around looping problem
Use Simulink for time based simulation. This is simple enough though that you can do this in MATLAB. Put a flag that gets to...

10 years ago | 0

Answered
how to make and interface GUI and 3D model of AIRCRAFT in MATLAB SIMULINK
This will give you a start: http://blogs.mathworks.com/videos/2011/02/02/animating-an-objects-trajectory-in-matlab-with-hgtra...

10 years ago | 1

Answered
Undefined function 'cell2str' for input arguments of type 'cell'.
There is no command cell2str in core MATLAB.

10 years ago | 0

| accepted

Answered
correct syntax for appending number to word in for loop
for i = 1:10; str = ['dt' num2str(i)] end

10 years ago | 0

| accepted

Answered
how to select specific values in a matrix
>> a = magic(10) a = 92 99 1 8 15 67 74 51 58 40 98 80 7 14 ...

10 years ago | 6

| accepted

Answered
How are ninja solutions even possible in Cody?
Not sure if I am using super-powers to see the leading solution that you pointed to but his is what was leading: function y...

10 years ago | 2

| accepted

Answered
How to display a complex number in edit in GUI?
Make a second edit box right next to it that only displays the imaginary part and is labeled with an i (or j if you are that typ...

10 years ago | 0

Load more