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

alrededor de 11 años hace | 4

| aceptada

Enviada


RAMP Radarsat Antarctic Mapping Project
Plot RAMP images in Matlab

alrededor de 11 años hace | 2 descargas |

0.0 / 5
Thumbnail

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

alrededor de 11 años hace | 1

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

alrededor de 11 años hace | 14

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

alrededor de 11 años hace | 0

| aceptada

Pregunta


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

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

1

respuesta

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 1

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

alrededor de 11 años hace | 1

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

alrededor de 11 años hace | 3

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

alrededor de 11 años hace | 0

| aceptada

Pregunta


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

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

1

respuesta

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

alrededor de 11 años hace | 0

Respondida
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',...

alrededor de 11 años hace | 1

Enviada


scattertextm
Create color-scaled georeferenced text labels.

alrededor de 11 años hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


scattertext
Create color-scaled text labels.

alrededor de 11 años hace | 1 descarga |

5.0 / 5
Thumbnail

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

| aceptada

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

alrededor de 11 años hace | 1

| aceptada

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

alrededor de 11 años hace | 14

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 0

| aceptada

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 1

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

alrededor de 11 años hace | 0

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

alrededor de 11 años hace | 1

| aceptada

Respondida
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]; ...

alrededor de 11 años hace | 0

Cargar más