# A LL

**Statistics**

**MATLAB Answers**

**35** Questions

**0** Answers

RANK**31,879**

of 277,780

REPUTATION**1**

CONTRIBUTIONS

**35** Questions

**0** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**1**

RANK

of 18,795

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 128,969

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Subplot panels which have several axes linked together using "tiledlayout"

I want to suplot panels a and b. Each panel has 3 different axes that I link together (1-colormap for continents, 2-colormap fo...

10 months ago | 1 answer | 0

### 1

answerQuestion

How to extract the first column of a structure array and save it as a different array

I have a structure array containing the names of my files in the first column. I want to extract only the names of my files and...

11 months ago | 3 answers | 0

### 3

answersQuestion

How to make xtick where there is a tick label in bold?

How to make the xtick mark where I have a label in bold (as shown in attached figure). Here is the code I use to generate the f...

11 months ago | 1 answer | 0

### 1

answerQuestion

How to reshape latitude, longitude and data of not regularly-spaced vectors into 2-D matrix to plot a pcolorm?

I have latitude, longitude and data vectors of size 7631 that are not equally spaced. I want to plot a pcolorm of the data at t...

12 months ago | 0 answers | 0

### 0

answersQuestion

How to remove February 29th for leap years in a daily time series over 43 years?

I have an array of values (x) representing daily data for 43 years (1979-2021) where size(x)=15706 I rearranged the data to hav...

1 year ago | 2 answers | 0

### 2

answersQuestion

How to rearrange time array in a matrix of years and days?

I have an array of values (let say x) representing daily data for 43 years. Is there a straightforward way and without using a ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Error message when trying to compute EOF with covariance matrix.

I am trying to compute EOFs from a code I used before, but it does not seem to work here since my dataset has a too good spatial...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to plot fewer arrows and increase their size on a quiver plot that is merged over another field?

I am merging 3 fields together (land/ocean, pressure field and velocity field). I manage to align all the fields together but I...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to remove horizontal spacing between subplots?

I have a figure with 2x2 subplots. I want to make the subplots side by side so that there is no spacing between the subplots. I...

1 year ago | 2 answers | 0

### 2

answersQuestion

Is there a way to remove the mesh from an alphaShape plot?

I plot shapes with the function alphaShape (see attached figure). Is there a way to remove the mesh of the alphaShape to plot t...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to flip non-zero elements of an array and keep zero elements at initial position?

I have an array (A) with non-zero elements and zero elements. I want to flip all non-zero elements of A but keep all zero eleme...

1 year ago | 4 answers | 0

### 4

answersQuestion

How to make my quiver plot readable?

I have the vector field (U,V) of size 361x361 that I want to plot as a quiver plot. For now, the vector field is just unreadabl...

1 year ago | 1 answer | 0

### 1

answerQuestion

Unable to set ticks on a colorbar

I am unable to define ticks on my colorbar. I want to plot the figure shown below with ticks at [1002 1004 1006 1008 1010 1012 ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to create a mask on a map in lat-lon coordinates?

I want to produce a mask on the region shown in figure (map_mask.fig). I have a lon x lat grid of size 1440x121. It represent...

1 year ago | 0 answers | 0

### 0

answersQuestion

How do do a pcolorm of an array with NaNs?

I exported a mask from a coarser resolution to a finer resolution grid. The grid with finer resolution is a lon x lat grid of s...

1 year ago | 0 answers | 0

### 0

answersQuestion

How to find the corresponding points of interest on a lat/lon matrix?

I have latitude (updownLat) and longitude (updownLon) coordinates for my points of interest. I have a lon x lat grid of size 14...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to fill the area between two curves with discrete data and with a condition (y<0 & y>0)?

I have a vector containing the values I want to plot in y (data.mat). In x, I have years ranging from 1979 to 2018. The data r...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to retrieve the index of positions starting with a specific character in a cell array?

I have two arrays. array1 contains values and array2 contains characters. Each character of array2 is associated with the value...

1 year ago | 2 answers | 0

### 2

answersQuestion

Looking for a way to partition an alphaShape object between its respective alphaShape sub-regions.

I have an alphaShape object (shp) made of 11 distinct sub-regions (N=11). I want to partition my alphaShape between it's 11 res...

1 year ago | 0 answers | 1

### 0

answersQuestion

How to define the areas of specific polygons?

I am looking for a clever way to define the points of the polygons A, B, C, E, F (see attached figure 2007_zones.png) on my map....

1 year ago | 0 answers | 0

### 0

answersQuestion

Why can't pcolor show the entire matrix to plot?

I am trying to plot a pcolor of the matrix Error3D which is size 300x300. Error3D is mostly NaNs except for Error3D(:,100), Err...

2 years ago | 2 answers | 0

### 2

answersQuestion

How can I create a surface plot (with height in Z) from X-Y coordinates and Z as a matrix?

I try to plot a surface plot (with height in Z) from X-Y coordinates and Z as a matrix. X and Y are my coordinates from 1 to 10...

2 years ago | 2 answers | 0

### 2

answersQuestion

Why does figure(2) keeps overwriting the previous figure?

I try to open figure(2) in a different window but it keeps overwriting the previous figure. I am currently working with MATLAB...

2 years ago | 1 answer | 0

### 1

answerQuestion

Only returning NaNs when trying to do a double for loop

I have a matrix of size (361,361) named sivTotEASE. At specific index i.e. sivTotEASE(m,n) I want to compute the mean (omiting...

2 years ago | 1 answer | 0

### 1

answerQuestion

How to superpose pcolor and plot on the same figure?

I try to superpose points with plot on pcolor and I only get the plot or the pcolor which is the furthest in the code lines. I ...

2 years ago | 1 answer | 0

### 1

answerQuestion

Why can't I display a line on a plot (can only have points marker)

I'm trying to plot a line (x1,y1) on a plot where I applied a mask for land (green) and seas (blue). Whatever the LineSpec I try...

2 years ago | 1 answer | 0

### 1

answerQuestion

How do I compute the area enclosed by contourm?

Hi all :) I would like to know how to compute the area enclosed by a contour line plotted using contourm. I have a 361x361 mat...

2 years ago | 1 answer | 0

### 1

answerQuestion

Polyfit returns the wrong correlation coeffcient when I try do a linear regression

Hello :) I am trying to do a linear regression for a set of data, but the regression coefficient returned by matlab polyfit don...

2 years ago | 1 answer | 0

### 1

answerQuestion

How can I change the size of my figure or the title position so that the title does not overlap my figure anymore?

Hello, I am trying to reduce the size of my figure or to upper the position of my title so that the title doesn't overlap the f...

2 years ago | 0 answers | 0

### 0

answersQuestion

How can I find the position vector associated to an indice with the find function?

Hi, I am looking to plot a black grid-cell for specific indices but I don't know how to do that. I have a matrix A size 1440x7...

2 years ago | 1 answer | 0