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...

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...

7 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 ...

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 ...

7 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 ...

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 ...

7 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 ...

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 ...

7 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? ...

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? ...

7 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. ...

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. ...

7 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.

MATLAB in unexpected places

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

7 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...

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...

8 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...

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...

8 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...

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...

8 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-')

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-')

8 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); ...

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); ...

8 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.

how to send a text message

Have you tried sending an e-mail as an alternative? MATLAB can do that too.

8 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...

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...

8 years ago | 0

Answered

Final verification URL needed as currently blocked by firewall

Please call install support.

Final verification URL needed as currently blocked by firewall

Please call install support.

8 years ago | 0

Answered

If I have a equation, suppose x.^2+y.^3-10 ; if I put the values of x and y randomly, Can I find the zeroes of this equation at certain values of x and y ? for example x=3 and y=1, there is zero.

ezplot('x^2 + y^3 - 10') <</matlabcentral/answers/uploaded_files/9320/ez.jpg>>

If I have a equation, suppose x.^2+y.^3-10 ; if I put the values of x and y randomly, Can I find the zeroes of this equation at certain values of x and y ? for example x=3 and y=1, there is zero.

ezplot('x^2 + y^3 - 10') <</matlabcentral/answers/uploaded_files/9320/ez.jpg>>

8 years ago | 1

| accepted

Answered

How to send an sms

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

How to send an sms

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

8 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...

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...

8 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 ...

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 ...

8 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: ...

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: ...

8 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...

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...

8 years ago | 0

Answered

Issue with updating xlabel/ylabel

Can you save the handle of the updated label, and just change the string property?

Issue with updating xlabel/ylabel

Can you save the handle of the updated label, and just change the string property?

8 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...

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...

8 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...

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...

8 years ago | 1

Answered

Undefined function 'cell2str' for input arguments of type 'cell'.

There is no command cell2str in core MATLAB.

Undefined function 'cell2str' for input arguments of type 'cell'.

There is no command cell2str in core MATLAB.

8 years ago | 0

| accepted

Answered

correct syntax for appending number to word in for loop

for i = 1:10; str = ['dt' num2str(i)] end

correct syntax for appending number to word in for loop

for i = 1:10; str = ['dt' num2str(i)] end

8 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 ...

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 ...

8 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...

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...

8 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...

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...

8 years ago | 0

Answered

Rotational Movement of an object

<http://blogs.mathworks.com/videos/2011/02/02/animating-an-objects-trajectory-in-matlab-with-hgtransform/ Relevant> A video u...

Rotational Movement of an object

<http://blogs.mathworks.com/videos/2011/02/02/animating-an-objects-trajectory-in-matlab-with-hgtransform/ Relevant> A video u...

8 years ago | 0