已回答
How can I draw a US map with some major cities and highways?
You can get Road shapefiles from <https://www.census.gov/cgi-bin/geo/shapefiles/index.php this website>.

8 years 前 | 0

已回答
Empirical Ortgogonal Functions in matlab
Indeed, the process of converting 3D datasets to analysis-friendly matrices is not intuitive. I have written an <https://www.ma...

8 years 前 | 0

| 已接受

已回答
Mapshow of Geotiff Landsat8 band
If you're using the same projection as the Landsat image itself (which is probably the local UTM zone), you can use <http://www....

8 years 前 | 1

| 已接受

已回答
how to create contour
Are you sure you mean you contour? The contour.csv file only contains x and y data--if you want to plot that x and y data as th...

8 years 前 | 1

已回答
Mapping Toolbox - Equivalent to imagesc instead of surfm?
Take a look at <https://www.mathworks.com/help/map/ref/geoshow.html |geoshow|>. You'll need to make a grid first, but I think y...

9 years 前 | 0

已回答
how can I merge to wav files with a pause of 3 seconds between them?
You could read in both audio files with <https://www.mathworks.com/help/matlab/ref/audioread.html |audioread|> and put them into...

9 years 前 | 0

已回答
Troubles with 14x14 matrix
It looks like |A| is classified as a logical variable. Try A = double(A); then change the values manually.

9 years 前 | 0

| 已接受

已回答
How can you get the x and y values from plotted points on a quiver plot?
If you can get a handle from when the quiver plot was created, it's easy: [x,y] = meshgrid(0:0.2:2,0:0.2:2); u = cos(x)...

9 years 前 | 1

已回答
How to make a contour plot of a matrix consisting of 1 and NaN?
Indeed, the contour functions don't like NaNs. Convert NaNs to zeros and then place contour lines at glacier=0.5. Here's how: ...

9 years 前 | 1

| 已接受

已回答
3D scatter plot with different color and legend explaining each color.
Try this: b1=[1,2,3,4,5]; b2=[2,2,3,3,1]; b3=[1,5,4,4,3]; s=[1,1,1,1,1]; r=[0,0,2,1,2]; scatte...

9 years 前 | 1

| 已接受

提问


specifying a stride length in ncread
I have a big 1.5 GB .nc file. Data loading is the slowest part of my processing, but I'm lucky that it will be sufficient to lo...

9 years 前 | 1 个回答 | 2

1

个回答

已回答
Which MATLAB operations/functions need speeding up?
The |scatter| function is incredibly slow for large datasets. I've had to switch to using Aslak Grinsted's <https://www.mathwor...

9 years 前 | 0

已回答
Interpolating if consecutive NaNs less than 16
Try using <https://www.mathworks.com/matlabcentral/fileexchange/45842-interp1gap/content/interp1gap/html/interp1gap_documentatio...

9 years 前 | 0

已回答
Codes to plot fluid pathlines and streaklines given an example
I'm not sure what exactly you're asking. Do you mean you want something like <http://www.mathworks.com/help/matlab/ref/streamli...

9 years 前 | 0

已回答
Cross-sectional area of a cone(ish)
I'd use my <https://www.mathworks.com/matlabcentral/fileexchange/43162-c2xyz-contour-matrix-to-coordinates/content/C2xyz_v2/html...

9 years 前 | 0

已回答
Daily average of 8 years with data set every 3 hours
A simpler solution might be <https://www.mathworks.com/matlabcentral/fileexchange/48361-downsample-ts/content/downsample_ts/html...

9 years 前 | 1

已回答
How to get xy coordinates from a binary image matrix
If |M| is your matrix and it looks like this: M = logical(randi(2,5)-1) M = 0 0 1 0 1 0 1...

9 years 前 | 0

| 已接受

已回答
scatterm with scatter marker pink to red color based on values
You're close. The |scatter| and |scatterm| functions link colors to the current colormap of the figure. So you'll have to set ...

9 years 前 | 0

已回答
Generating large circles using scircle
I don't think |scircle2| wants x or y values, it wants lats and lons. I wrote a <https://www.mathworks.com/matlabcentral/fileex...

9 years 前 | 1

| 已接受

已回答
why esri nc files dimensions are they inversed in matlab?
I often need to use some combination of |flipud|, |fliplr|, or |rot90| when importing ESRI-generated gridded data.

9 years 前 | 0

| 已接受

已回答
Mapping geographic point coordinates to a coordinate grid - speeding it up
Eebs, Is your dataset regular? By that I mean, is it a bunch of scattered points, or do your data points already fit nicely int...

9 years 前 | 0

已回答
hdf5 how to convert pixel to lat&lon please give suges
Use <http://www.mathworks.com/help/matlab/ref/h5read.html |h5read|>.

9 years 前 | 0

| 已接受

已回答
How can I export the contourm C variable to a struc?
Similar to Walter's suggestion, <http://www.mathworks.com/matlabcentral/fileexchange/43162-c2xyz-contour-matrix-to-coordinates/c...

9 years 前 | 0

已回答
Making a new Colored "TIF" and "RGB" image out of Landsat-8 Geotiff image(11 separate bands)
I wrote a function to do this for Landsat 8, but it's basically the same method you use. Check out <https://www.mathworks.com/m...

9 years 前 | 0

已回答
Problem in writing geotiff file from EASE-2 grid data from SMAP mission
Did you get this working? You might be able to specify EPSG:3975 when using geotiffwrite. I'd be interested to hear if that wo...

9 years 前 | 0

已回答
A mapping package for matlab
Karishma, The problem is you're trying to combine map coordinates with unprojected coordinates. Either is fine to use, but they...

9 years 前 | 0

| 已接受

已回答
Pie chart percentages are not correct
If z = [20318 28008] then the first value, 20318 represents 42% of the total value of z. 100*20318/sum(z) = ...

9 years 前 | 0

| 已接受

已回答
Efficient moving average of scattered data
I turned this into a generalized function called |scatstat1|, which is on the file exchange <http://www.mathworks.com/matlabcent...

9 years 前 | 1

| 已接受

已回答
How to set semilog axis limit
semilogx(15000*rand(50),rand(50),'bo') xlim([100 15000])

9 years 前 | 1

提问


Efficient moving average of scattered data
I have some scattered data and I'd like to take something similar to a moving average, where I average all values with in some r...

9 years 前 | 3 个回答 | 0

3

个回答

加载更多