Answered
Matlab weather map with geoshow
I see the problem--You're mixing regular cartesian coordinates with map coordinates. When you call Mapping Toolbox plotting...

10 years ago | 2

| accepted

Answered
matlab in a plot use annotation for diamond
Check out the |LineSpec| table <http://www.mathworks.com/help/matlab/ref/plot.html#inputarg_LineSpec here>. Use |plot(x,y,'d')|...

10 years ago | 1

Answered
Splitting Wind direction into four quadrants
I think Kelly is partly correct. You'll need the four-quadrant version of |atand|, which is called <http://www.mathworks.com/hel...

10 years ago | 0

| accepted

Answered
Plot raster map with custom colormap
I take philosophical issue with binning values from a continuous range unless those exact bins are used as discrete categories f...

10 years ago | 0

Answered
Plotting a surface plot for latitude, longitude and depth
Your scattered data points must be fit to a surface. There are a number of ways to get a surface from scattered data, so you'll...

10 years ago | 0

Answered
Faster way to update a plot?
Do you need to plot inside the loop? The best thing you can do is wait on plotting until after the loop. For example, ho...

10 years ago | 1

| accepted

Answered
How to delete multiple images from the dataset?
Are the images in your workspace? If so, clear *_images_6 If the images are files in some directory, use |dir('*_image...

10 years ago | 1

| accepted

Answered
How to find PSD from data
If you have the signal processing toolbox, <http://www.mathworks.com/matlabcentral/fileexchange/53533-plotpsd/content/plotpsd/ht...

10 years ago | 0

Answered
Index exceeds matrix dimensions.
What is the size of |data_x|? You can check this by size(data_x) When you call |data_x(:,4)| it's trying to access all...

10 years ago | 0

Answered
How to Limit figure size?
Try setting the figure position in the form |[xll yll width height]| where |xll| and |yll| are the x and y positions of the lowe...

10 years ago | 0

Answered
image and imagesc functions
The |sc| suffix simply means color-scaled. Type this into your command line and see: open imagesc The |imagesc| functi...

10 years ago | 0

| accepted

Answered
How to find the index of the median of a matrix.
Create your own function function [M,I] = mymedian(A,dim) if nargin==1 dim = 1; end M = median(A,dim)...

10 years ago | 1

Answered
How to find the index of the median of a matrix.
For some matrix |a|: a = randi(100,5); The median value in |a| is given by a_med = median(a(:)); A logical a...

10 years ago | 1

Answered
How to do digital filtering in Matlab with a specified cut off frequency?
I wrote a function called <http://www.mathworks.com/matlabcentral/fileexchange/53534-filter1/content/filter1/html/filter1_docume...

10 years ago | 1

Question


How can I get the first 10 characters of each cell in an array?
I have a cell array (attached) containing dates that look like this: '1999-01-02T18:24:37Z' I'd like to get these dates ...

10 years ago | 3 answers | 1

3

answers

Answered
result in one line
You can use num2str(a,'%0.2f') to specify two decimal places.

10 years ago | 0

| accepted

Answered
Easiest way to find the mean of a group of pixels in an image
Try this: % Here's an image: Z = double(imread('tire.tif')); % It has these corresponding rows and columns: ...

10 years ago | 0

Answered
how to visualize my code.
It's hard to understand exactly what you're looking for. It might help to upload a hand-drawn picture of what you want to creat...

10 years ago | 0

Answered
Homework Question: File I/O reading and loops
You don't need a while loop. You typically want to avoid loops because they're computationally slow and loops can be somewhat o...

10 years ago | 0

Answered
What is the best way to inerapolate Nans in a time series.
There are a number of ways to skin this cat. The first question I'd ask: Is a particular grid cell's value more affected by the...

10 years ago | 0

Submitted


Ice shelf tidal flexure interpolator
Estimate coefficients of tidal flexure for Antarctic ice shelves

10 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
Plotting Right Ascension & Declination on Mercator Map
As Star Strider mentioned, you can add a NaN where it wraps around. A faster and possibly less visually appealing way is to plo...

10 years ago | 0

Answered
fit data with x axis already formatted with dateticks() MATLAB
The way you define months is incorrect. You're actually just picking 12 datenums spaced evenly throughout the year. If you wan...

10 years ago | 0

Answered
Globe Display on MATLAB?
Hi Jonathan, 1. You should be able to increase the number of revolutions by increasing the angle of revolution to more than ...

10 years ago | 0

Answered
cannot get a rectangle with linem
I get the same problem using Matlab 2012b. I've been finding a number of weird behaviors with Mapping Toolbox plotting function...

10 years ago | 0

| accepted

Answered
Is there a matlab function to georeference an image without the use of GCP?
I don't know what GCP is, but Aslak Grinsted's <http://imgraft.glaciology.net/ ImGRAFT> toolbox has some orthorectification func...

10 years ago | 0

Answered
How do I extract attributes from a polygon shapefile for specific locations?
Try Kelly Kearney's <http://www.mathworks.com/matlabcentral/fileexchange/10278-interpshapefile |interpshapefile|>.

10 years ago | 0

Submitted


Antarctic geoid conversions
Convert elevations between the WGS84 ellipsoid and the GL04c geoid.

10 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
How do I prevent images displayed in a gui with imshow from being sized to fit the axes?
Try this A = repmat(imread('coins.png'),[6 6]); imshow(A,'InitialMagnification',100) set(gcf,'position',[10 10 size...

10 years ago | 0

Question


painters renderer ignoring uistack and z values in R2014b
I'm writing a script that will be used on R2012b and R2014b. It works wonderfully in R2012b, but R2014b is ignoring z values an...

10 years ago | 1 answer | 0

1

answer

Load more