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

más de 10 años hace | 2

| aceptada

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

más de 10 años hace | 1

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

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

más de 10 años hace | 1

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

más de 10 años hace | 1

Pregunta


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

más de 10 años hace | 3 respuestas | 1

3

respuestas

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

Enviada


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

más de 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

Enviada


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

más de 10 años hace | 2 descargas |

5.0 / 5
Thumbnail

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Cargar más