Réponse apportée
Interpolation or meshgrid...Error using matlab.internal.math.interp1
Ah, it looks like tt_sort and tt2_sort are in fact sorted, but they contain some duplicate values. The easiest way to work aroun...

presque 5 ans il y a | 0

Réponse apportée
Median filter for an imported Excel file (removing spikes from a signal)
For a 3-point moving median, you can medfilt1 as you suggest, like this: weg_f = medfilt1(weg,3); Or similarly, you could us...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to extract specific parts of a matrix
Let's see if I understand what you're trying to do. As I understand it, you have a 512x512 matrix with lots of values of 98 on t...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Plotting the trend line without plotting the data
Or more simply, polyplot(wspd_3yr,msid_3yr) using the polyplot function found here.

presque 5 ans il y a | 0

Réponse apportée
trend line plotting question
I've written a simple function called polyplot to add a linear trend line to plots. Get it on the File Exchange here.

presque 5 ans il y a | 0

Réponse apportée
How to Plot Time Series Data of a Temperature Map
Hi John, A couple of things: Location number 7 is in Antarctica! The sea surface temperature data is all NaN on land, so ave...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Climate Data Toolbox: how can i calculate correctly a trend with trend function?
Hi Alessandro, I think you've mostly got it. One key point to note is your sampling frequency is monthly, so 12 times per year...

presque 5 ans il y a | 0

| A accepté

A soumis


trend
Fast function for mapping trends along any dimension in 3D data.

presque 5 ans il y a | 2 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
Making a Map Image from a Matrix
With the Climate Data Toolbox you could do it like this: T = flipud(reshape(load('TS20040101.txt'),[72 144])); % loads, reshape...

presque 5 ans il y a | 2

| A accepté

Réponse apportée
Control Text Label on plot with categorical axis
Have you tried using the 'vertical' and 'horizontal' alignment options? plot(5,6,'o') text(5,6,'default text') text(5,6,'ab...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Calculating values of a dependent variable at a using a range of independent variables
Welcome to the world of Matlab, Tom. Indeed, I think this is pretty straightforward. To make a range of values of Temp between...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Mapping sea surface temp with specific location? Struggling with geoshow function?
For 3D data cubes of things like ocean temperature, you most often need to permute the first two dimensions when reading in from...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
how to fill geographic plot region with specific color?
To fill the circle, check out the markerfacecolor option in the documentation for geoplot. Alternatively, you may prefer the geo...

presque 5 ans il y a | 2

| A accepté

Réponse apportée
Error with plotting a function
Try this: plot(t,(K.^(1 - (exp(t.*r.*-1)))), '-b'); I put a dot (.) before the exponents and multiplication. That turns it in...

presque 5 ans il y a | 0

Réponse apportée
How to create a best fit line here?
It looks like the first x value is -Inf. Try eliminating that point from the polynomial fit, like this: p = polyfit(x(2:end),y...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How do I set each legend on the curve in multiple plot?
Perhaps the issue isn't the legend, but plotting the desired colors? How about specifying the colors of the plots explicitly, li...

presque 5 ans il y a | 1

Réponse apportée
How do I smooth a dataset without built in functions
It's not quite empty--it's just plotting a single point as a tiny dot. That's because you've only solved for a single point. I...

presque 5 ans il y a | 1

A soumis


gif
An easy gif generator

environ 5 ans il y a | 14 téléchargements |

4.8 / 5
Thumbnail

A soumis


COVID19
Mapping coronavirus cases in the US

environ 5 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

Réponse apportée
Mapping a Coastline of the Antarctic showing different boundaries
To make maps of Antarctica, try Antarctic Mapping Tools. For melt data you might cosider my plugin for the Adusumilli ice shelf ...

environ 5 ans il y a | 0

A soumis


Ice Shelf Melt Rates
Melt rate data from Adusumilli et al., 2020.

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

4.0 / 5
Thumbnail

Réponse apportée
Plotting different colored line based on condition(s)
What if you create two lines and plot them separately? x = 0:1000; y = sind(x); % duplicate: y_red = y; y_red(y>0) = ...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
How can I regrid a climate data model from lower resolution to higher resolution?
If you have a grid of humidity data H that correspond to the 2.5 degree resolution coordinates lat and lon, then you just need t...

plus de 5 ans il y a | 1

Réponse apportée
Convert large xyz file into grid
Try my xyz2grid function. It's fast, easy to use, and one of the examples in that documentation link shows how to grid up an Ant...

plus de 5 ans il y a | 1

Réponse apportée
Plot netcdf datas through time
The answer depends on exactly what you want to display. Do you want 12 different maps, to show salinity distribution for each mo...

plus de 5 ans il y a | 0

Question


Why is MATLAB using my network?
I'm using a wifi hotspot and I want to minimize my data usage. Unfortunately, whenever I have MATLAB R2019b open, it seems to be...

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

3

réponses

A soumis


borders
Simply plot national and US state boundaries, with or without Matlab's Mapping Toolbox.

presque 6 ans il y a | 23 téléchargements |

5.0 / 5
Thumbnail

Question


Disable automatic Data Tips
I've just updated from R2018b to R2019b, and now every time I click on a plot, it prints a new Data Tip without my asking it to....

environ 6 ans il y a | 1 réponse | 1

1

réponse

A soumis


sinefit
Fit an annual sinusoid to data using a least-squares approximation.

environ 6 ans il y a | 8 téléchargements |

0.0 / 5
Thumbnail

A soumis


Bedmap2 Toolbox for Matlab
Get Bedmap2 data into Matlab. Several tools for data access, interpolation, and plotting.

environ 6 ans il y a | 5 téléchargements |

5.0 / 5
Thumbnail

Charger plus