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

11 years ago | 2

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

Answered
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(:))...

11 years ago | 0

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

11 years ago | 19

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

11 years ago | 0

| accepted

Answered
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_,......

11 years ago | 95

Question


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

11 years ago | 0 answers | 0

0

answers

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 4

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

11 years ago | 0

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

11 years ago | 316

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

11 years ago | 0

| accepted

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

11 years ago | 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...

11 years ago | 979

Question


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

11 years ago | 158 answers | 979

158

answers

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

11 years ago | 1

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

11 years ago | 1

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

11 years ago | 0

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

11 years ago | 4

Question


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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 2

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

11 years ago | 0

| accepted

Answered
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;

11 years ago | 0

| accepted

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

11 years ago | 3

Load more