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

plus de 10 ans il y a | 2

| A accepté

Réponse apportée
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')|...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

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

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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)...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 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 ...

plus de 10 ans il y a | 3 réponses | 1

3

réponses

Réponse apportée
result in one line
You can use num2str(a,'%0.2f') to specify two decimal places.

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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: ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

A soumis


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

plus de 10 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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|>.

plus de 10 ans il y a | 0

A soumis


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

plus de 10 ans il y a | 2 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
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...

plus de 10 ans il y a | 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...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Charger plus