Submitted


pathdist
Simply calculate distance traveled along a lat/lon path

11 years ago | 6 downloads |

0.0 / 5
Thumbnail

Submitted


strlookup
Find strings in a list of cells and return near matches if no exact match is found.

11 years ago | 1 download |

4.0 / 5

Answered
hi, How can I convert grid file format to .dat or .txt file format?
If you have the Mapping Toolbox you can use <www.mathworks.com/help/map/ref/arcgridread.html |arcgridread|> to read .grd files, ...

11 years ago | 0

Answered
Solve this particular system of equations
For path length _through_ a sphere, transform your spherical coordinates to 3D cartesian coordinates x,y,z with |sph2cart|. The...

11 years ago | 0

Answered
The area average problem
Your question is unclear, so I will make some assumptions about what you are asking. First, I think u is three dimensional, ...

11 years ago | 0

Answered
How can i mark the points in a surface that have a certain value?
You have only plotted one data point that actually equals zero. I've labeled it with yellow text. To plot the contours at z=0, ...

11 years ago | 6

| accepted

Answered
Finding the matrix with the most elements?
V1 = rand(1,5); V2 = rand(4,3); V3 = magic(2); % Number of elements in each matrix: numels = [numel(V1) num...

11 years ago | 0

Answered
How to store value of rand() function in a file?
x = rand(5,1); save example.mat 'x' is simple and can be easily recalled with load example Alternatively, you m...

11 years ago | 0

Submitted


roundfrac
Round numbers to nearest fraction.

11 years ago | 2 downloads |

0.0 / 5
Thumbnail

Answered
problem when saving plot
Try specifying a different renderer with |set(gcf,'renderer','opengl')|, and if that doesn't work, |set(gcf,'renderer','painters...

11 years ago | 1

Answered
Replace NaN with previous values
Use <http://www.mathworks.com/matlabcentral/fileexchange/48324-repnan/content/repnan/html/repnan_documentation.html |repnan|> on...

11 years ago | 4

| accepted

Answered
how do i make the output of axesm fill more of a figure window?
Not sure if this is what you're looking for, but the |axis tight| command works with maps.

11 years ago | 1

Answered
Convert to Mercator projection?
Converting projections after plotting doesn't usually work. To initialize a mercator map with those lat/lon limits, try this: ...

11 years ago | 0

| accepted

Answered
How to show title and xlabel on the bottom of every image?
Try using |text|. Alternatively, there's the slightly more user-friendly |ntitle| available on File Exchange, but |ntitle| only...

11 years ago | 0

Answered
Superimpose a quiver plot on top of a picture
Your image is plotted with x and y in units of pixels (from 1 to 1024), but your quiver plot spans the range 0.15 to 0.45. Repl...

11 years ago | 0

| accepted

Answered
Superimpose a quiver plot on top of a picture
Sometimes stacking gets a little confused, especially depending on the renderer and Matlab distribution. You can try ...

11 years ago | 0

Answered
Can we find a resolution to this answers flaw?
As for reasons folks delete their questions, I assume homework is a common one. I am not in school, but I admit I have been tem...

11 years ago | 3

Answered
Data I am importing via NCREAD is not similar to values from third party websites
Simplest solution: <http://www.mathworks.com/matlabcentral/fileexchange/48361-downsample-ts/content/downsample_ts/html/downsampl...

11 years ago | 0

Submitted


downsample_ts
Calculate monthly means, annual medians, and other statistics for 1D or 3D datasets.

11 years ago | 3 downloads |

5.0 / 5
Thumbnail

Answered
Data I am importing via NCREAD is not similar to values from third party websites
I get the correct order of magnitude. Note that your image shows a log color scale and most to the data don't exceed 0.5 inches...

11 years ago | 0

Answered
Data I am importing via NCREAD is not similar to values from third party websites
Looks like the apcpsfc data are in kg/m^2, not inches.

11 years ago | 0

Answered
How to rotate a 3D object?
|rotate3d| rotates the view, <http://www.mathworks.com/help/matlab/ref/rotate.html |rotate|> rotates the object. The <http://www...

11 years ago | 0

Answered
How do I set Transparency of area plot in R2014b?
After creating the plot you may be able to use |h = findobj('Type','patch');| to get handles of all patch objects, then set face...

11 years ago | 0

Answered
can anyone tell me how to remove unvoiced or silenced region from audio file?
Hi Pranjal, There are a number of ways to do this, but I cannot think of a perfect solution. The easiest way I can think of ...

11 years ago | 2

Answered
How to define the boundary of a countour
If you have the mapping toolbox you can use <http://www.mathworks.com/matlabcentral/fileexchange/48661-landmask/content/landmask...

11 years ago | 0

| accepted

Answered
How to crop an image and automatically crop another image with same positioning?
Those look like Landsat 8 images. With <http://www.mathworks.com/matlabcentral/fileexchange/46904-geoimread/content/geoimread/h...

11 years ago | 0

Answered
how to draw a free hand box on an image to select that region of interest?
If you have the Image Processing Toolbox, http://www.mathworks.com/help/images/ref/imfreehand.html

11 years ago | 1

Answered
why reference matrix is shown as empty matrix when I am reading a geo tiff file from matlab 2010a?
I'm guessing your MODIS image is a plain tiff and not a geotiff. Sometimes there's a supporting text file that may have informa...

11 years ago | 1

| accepted

Answered
How to extract every other value from a 50000x1 array?
If I'm understanding your question correctly, x = [2 251 2 251 2 251 2 251 2 251 2 251 2 251 2 251 2 251 2 251 2 251 2 251...

11 years ago | 0

| accepted

Answered
Can anyone help me take a shape file ('nybb.shp') and turn the XY coordinates into geographic coordinates so that I can use geoshow as opposed to mapshow?
You can use <http://www.mathworks.com/help/map/ref/projinv.html |projinv|> for this.

11 years ago | 0

| accepted

Load more