Respondida
How to interpolate 3d data based on changes in 3rd dimension?
The dirty way which is not quick but everyone seems to do it, is to perform 1D interpolation for each lat/lon grid box. That wo...

alrededor de 11 años hace | 2

Respondida
Why is errorbar whisker length dependent on X?
You could make the bars manually like this: % define data: x = [1 15 25 10 30 5 20]; shw = 0.3; % half-width of ste...

alrededor de 11 años hace | 0

| aceptada

Respondida
Storm motion over a catchment - fill matrix in a generic direction
How's this? [X,Y] = meshgrid(1:200,1:200); t = 1:20; x0 = 0.2*rand(size(t)); y0 = 0.3*rand(size(t)); r...

alrededor de 11 años hace | 0

| aceptada

Respondida
Least Square Method Output: 2 parameters and residual
You can use <http://www.mathworks.com/help/matlab/ref/polyfit.html |polyfit|> to get the slope and y intercept. Below we create...

alrededor de 11 años hace | 0

Respondida
Why is errorbar whisker length dependent on X?
I get the same behavior in 2012b. The culprit may be on line 195 of the |errorbar| function, which says: tee = (max(x(:))...

alrededor de 11 años hace | 0

Respondida
Matlab jokes or puns
A |rose| by any other name, is a different function.

alrededor de 11 años hace | 19

Respondida
How do I use Quiver with X, Y, radians and vector length?
If you have the locations of points X and Y, all you have to do is convert your direction/magnitude information to cartesian coo...

alrededor de 11 años hace | 0

| aceptada

Respondida
Matlab jokes or puns
You know Beethoven wrote several pieces about Matlab. _Ode to Joy_ and several reprises including _Ode 2_, _Ode 3_, _Ode 4_,......

alrededor de 11 años hace | 95

Pregunta


text rendering in 2012b
In 2012b on a Mac if I use zbuffer or OpenGL, a lowercase sigma looks like a lowercase c. Like this title 'This: \rightar...

alrededor de 11 años hace | 0 respuestas | 0

0

respuestas

Respondida
How do I format YTick labels so that they will use superscripts?
Is this what you mean? x = 1:100; y = x.^3; semilogy(x,y) <</matlabcentral/answers/uploaded_files/31295/test.pn...

alrededor de 11 años hace | 0

| aceptada

Respondida
Blending quiver on real georeferenced orthophoto
Not sure if this helps, but <http://www.mathworks.com/matlabcentral/fileexchange/47314-quivermc/content//quivermc_documentation/...

alrededor de 11 años hace | 0

| aceptada

Respondida
Grid search to over lap two data sets
I'm not sure if I'm interpreting your data correctly--it starts with "lat lon s" followed by a string of numbers. Do you mean ...

alrededor de 11 años hace | 0

| aceptada

Respondida
How to create a scroll bar for the legend
I started this as a comment, but I think it turned into an answer. That answer is, don't do it. I'm having a hard time envi...

alrededor de 11 años hace | 0

Respondida
surf and color bar does not show correct color gradient.
Follow your plotting command with shading interp

alrededor de 11 años hace | 0

Respondida
Matlab jokes or puns
You know in postwar Berlin, half the city used Matlab. They spent much of their lives on the left divide.

alrededor de 11 años hace | 4

Respondida
Transform a rotated stretched longitude and latitude grid to regular two dimensional grid
Does <http://www.mathworks.com/help/map/ref/rotatem.html |rotatem|> do what you need? I'm not familiar with stretching coefficie...

alrededor de 11 años hace | 0

Respondida
Matlab jokes or puns
Why did the inmate want to learn Matlab? Just for |cellfun|.

alrededor de 11 años hace | 316

Respondida
how to solve this error
Unfortunately, you can't use |==| when comparing strings. Replace Ex_domain(loop7_out)=='hotmail.com' and all the simil...

alrededor de 11 años hace | 0

| aceptada

Respondida
Matlab jokes or puns
Did you hear about the masquerade at the MathWorks headquarters? It was an anonymous function.

alrededor de 11 años hace | 84

Discussion


Matlab jokes or puns
Are there any good Matlab jokes? I don't mean |why| or any other Easter eggs, I mean good jokes involving Matlab. Actually, tha...

alrededor de 11 años hace | 979

Pregunta


Matlab jokes or puns
Are there any good Matlab jokes? I don't mean |why| or any other Easter eggs, I mean good jokes involving Matlab. Actually, tha...

alrededor de 11 años hace | 158 respuestas | 979

158

respuestas

Respondida
Find correlation between two matrices with varying NaN coordinates
Indeed, A = [1 2 3 4 5 6 7]; B = [1 2 2 4 5 6 NaN]; corrcoef(A,B) ans = 1 NaN NaN NaN But ...

alrededor de 11 años hace | 1

Respondida
How can I make MatLab output unassigned variables?
You can do this with an anonymous function. Here's how: myfun = @(t) 3*t; Then myfun(4) = 12 or x =...

alrededor de 11 años hace | 1

Respondida
Click face of patch object
Perhaps |ginput| to get the mouse click coordinates, then you could use |inpolygon| to determine if the user clicked in a given ...

alrededor de 11 años hace | 0

Respondida
[DISCONTINUED] New design of the forum - grey on white / wish list #3 / bug reports
Why are there so many frames within frames? A comment lies inside the frame of my monitor, inside the frame of the browser, insi...

alrededor de 11 años hace | 4

Pregunta


Matrix operations in three dimensions
I'm creating synthetic surfaces by summing multiple frequency components of random phase and orientation. Is there a faster way ...

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
[DISCONTINUED] New design of the forum - grey on white / wish list #3 / bug reports
Seems like TMW went live with the new design before testing with Firefox.

alrededor de 11 años hace | 2

Respondida
Problem when wrapping longitude dataset
Does this work? load lat load lon load data [lon,lat] = meshgrid(wrapTo180(lon_model),lat_model); wo...

alrededor de 11 años hace | 0

| aceptada

Respondida
how to create a vector with certain range of values
There should be no need for a loop. Enter any value for |n|: n = 3; v = zeros(1,250); v(n+1:end) = 1;

alrededor de 11 años hace | 0

| aceptada

Respondida
[DEPRECATED] What frustrates you about MATLAB?
I'd like a more helpful message with <http://www.mathworks.com/matlabcentral/answers/?term=%2522undefined+function%2522 |Undefin...

alrededor de 11 años hace | 3

Cargar más