Answered
Matlab title with different colors on the string
I just tried your suggested solution and it works on 2012b and 2014b. Is it an issue with the interpreter? Try specifying ...

11 years ago | 4

| accepted

Submitted


RAMP Radarsat Antarctic Mapping Project
Plot RAMP images in Matlab

11 years ago | 2 downloads |

0.0 / 5
Thumbnail

Answered
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
I sure wish Answers pages would load faster. Navigating the Answers section and sorting forum posts is remarkably slow, especia...

11 years ago | 1

Answered
Experts of MATLAB, how did you learn? Any advice for beginner/intermediate users?
I've learned a tremendous amount by asking and answering questions on this forum. I probably learn more when I answer questions...

11 years ago | 14

Answered
Relating values in one array indexed to another
I figured it out. [~,lib] = ismember(b_ind,a_ind) b_val = NaN(size(b_ind)); b_val(lib>0) = a_val(lib(lib>0));

11 years ago | 0

| accepted

Question


Relating values in one array indexed to another
I was given some arrays that have been indexed in a funny way. I think the idea was to save space because these are multi-milli...

11 years ago | 1 answer | 0

1

answer

Answered
Assigning colors to different lines in one plot
You're on the right track. Here's how I'd do it. data = rand(10); Colors = rgb('red','green','blue'); c = 1; ...

11 years ago | 0

Answered
How can I make this graphic?
No need for loops. And note, when you do use loops, try to avoid using |i| and |j| as variable names--they're the imaginary uni...

11 years ago | 1

Answered
insert textbox in a geoshow plot
Use |textm|, which works exactly like |text|, but in geocoordinates: textm(latpr(1,1), longpr(1,1),'starting point') Yo...

11 years ago | 1

Answered
Grouping Data for a 3d Scatter Plot
Try this: % Some data: x = rand(30,1); y = rand(30,1); z = rand(30,1); % Each data point is in one of 5...

11 years ago | 3

Answered
Is it possible to change label names in Matlab
Here I'll do a |barh(A)| where |A| is not sorted, and I'll label the different groups based on the longest bar. Then sort accord...

11 years ago | 0

| accepted

Question


Speed of calculating size(a) versus size(a,dim)
I inherited some nasty code that calls several functions more than a million times each. I'm doing what I can to save processin...

11 years ago | 1 answer | 0

1

answer

Answered
Is it possible to change label names in Matlab
plot(1:9,1:9) set(gca,'ytick',1:9,'yticklabel',{'book','pen','vb','top','red','green','black','green','verb'})

11 years ago | 0

Answered
Open 4 figures in 4 corners of the screen
Use set(gcf(1),'units','normalized','outerposition',[0 0.5 .5 .5]) set(gcf(2),'units','normalized','outerposition',...

11 years ago | 1

Submitted


scattertextm
Create color-scaled georeferenced text labels.

11 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


scattertext
Create color-scaled text labels.

11 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
Create an empty array of size (MxN) for xlswrite.
Try Array = NaN(2592,2) ;

11 years ago | 0

Answered
Distance Between a Set of Points
Or there's John D'Errico's <http://www.mathworks.com/matlabcentral/fileexchange/18937-ipdm--inter-point-distance-matrix |ipdm|> ...

11 years ago | 0

Answered
Extract Lat/lon from Shapefiles
You should be able to use <http://www.mathworks.com/help/map/ref/shaperead.html |shaperead|> with the |'UseGeoCoords',false| opt...

11 years ago | 0

Answered
Best tool for analysing/altering netcdf data (beyond read-only)
I'm not sure what the problem is. NetCDF files contain matrices, which are well suited for Matlab (MatrixLaboratory). To get a...

11 years ago | 0

Answered
How to find the immediate neighbors of a point in a map?
There are a number of ways to find immediate neighbors, but no matter which way you do it, convert your lat/lons to some appropr...

11 years ago | 0

| accepted

Answered
Nxn matrix with elements between 1...n^2
Here's one way: n = 3; % Create a 1D array of all the values: m = 1:n^2; % Reshape m into nxn: m =...

11 years ago | 1

| accepted

Answered
Matlab jokes or puns
I took a look at my colleague's code. It was full of unnecessary nested loops and he used |i| and |j| as variables, but I guess...

11 years ago | 14

Answered
Scatter plot data different resolution satellite images
If both images are the same size, and each pixel in image |A| corresponds to the same lat/lon of the same pixel in image |B|, Yo...

11 years ago | 0

Answered
pcolor/m_pcolor cannot create world map correctly
This question has been answered in the comments above, but in case anyone else runs into this problem again, here's an easier-to...

11 years ago | 0

| accepted

Answered
pcolor/m_pcolor cannot create world map correctly
I see that when you use |pcolor| your axis values are not lat,lon values. Looks like linear indices of rows and columns. Are y...

11 years ago | 0

Answered
Getting values using coordinates indexes
You can do this a few ways. If you know the exact lat and lon you're interested in, say (30N,120E), it's simply Z(lat==30...

11 years ago | 1

Answered
How do I get the amplitude profile of an earthquake Signal?
You can use one of the enveloping techniques discussed <http://www.mathworks.com/matlabcentral/answers/168185-can-anyone-tell-me...

11 years ago | 0

Answered
How to add an additional tick on y-axis for a combined boxplot and scatter plot?
This solution's a little clunky, but it works: % Create a label string for each Ypos: for k = 1:numel(Ypos) Ne...

11 years ago | 1

| accepted

Answered
How to add an additional tick on y-axis for a combined boxplot and scatter plot?
You can specify Ytick locations explicitly like this: Ypos = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.5 1.6]; ...

11 years ago | 0

Load more