A répondu
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...

plus de 9 ans il y a | 0

A répondu
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...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

A répondu
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 ...

plus de 9 ans il y a | 0

A répondu
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? ...

plus de 9 ans il y a | 0

A répondu
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. ...

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 0

A répondu
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...

presque 10 ans il y a | 2

A répondu
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...

presque 10 ans il y a | 1

A répondu
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...

environ 10 ans il y a | 0

| A accepté

A répondu
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-')

environ 10 ans il y a | 1

A répondu
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); ...

environ 10 ans il y a | 0

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

environ 10 ans il y a | 1

A répondu
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...

environ 10 ans il y a | 0

A répondu
Final verification URL needed as currently blocked by firewall
Please call install support.

environ 10 ans il y a | 0

A répondu
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>>

environ 10 ans il y a | 1

| A accepté

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

environ 10 ans il y a | 0

A répondu
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...

environ 10 ans il y a | 0

A répondu
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 ...

environ 10 ans il y a | 0

A répondu
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: ...

environ 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 1

A répondu
Undefined function 'cell2str' for input arguments of type 'cell'.
There is no command cell2str in core MATLAB.

plus de 10 ans il y a | 0

| A accepté

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

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 6

| A accepté

A répondu
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...

plus de 10 ans il y a | 2

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

Charger plus