Question

How to Crop India shape file from Global shapefile

Hello: I have two shapefiles: global shapefiles of landuse map and India administrative boundary shapefile. Is it possible to c...

2 months ago | 1 answer | 0

Question

How to remove common row elements from matrix

Hello: I have large number of arrays with mix of NaNs & numbers, for example: NaN NaN NaN NaN NaN NaN 1973 1 15...

4 months ago | 1 answer | 0

Question

How to compute centered moving average from an NxM array

Hello: I have an 40x2 matrix, in which the first column shows day index and the 2nd column value for each day: 1 11 2 12 3 1...

5 months ago | 2 answers | 0

Question

Identifying missing gaps in daily timeseries

Hello: I have a daily timeseries data for 10 stations which are in foll. format: year month day value 1970 1 1 12...

5 months ago | 1 answer | 0

Question

Can't find fmincon optimizer in R2019b

Hello: I have recently installed MATLAB R2019b licensed version in my computer. While on checking ver- option I can find optimi...

8 months ago | 1 answer | 0

Question

grouping array based on similar row element

Hello, I have a matrix A: 123 1970 1 1 12 123 1971 1 1 120 123 1972 1 12 300 240 1970 1 10 40 240 1971 2 1 45 240 1972 3...

10 months ago | 1 answer | 0

Question

How to fix marker size in scatterm in mapping toolbox

Hello: I want to show circles on the map using scatterm function. In that I want to fix size of each circles proportional to th...

12 months ago | 1 answer | 0

Question

Grouping similar element based on common columns

Hello: I have two matrices, which I wish to group together based on common first three column elements. If no common column ele...

1 year ago | 1 answer | 0

Question

How to implement MonteCarlo integration of probability density function to obtain CDF

Hello: I have a probability density function obtained from convolution process of two random variables. Hence, I don't have the...

1 year ago | 0 answers | 0

Answered

Generating random data from Kernel density estimator

This is simple. First, estimate kernel density parameters from data vector, using fitdist: pd = fitdist(X,'kernel'); Use this ...

Generating random data from Kernel density estimator

This is simple. First, estimate kernel density parameters from data vector, using fitdist: pd = fitdist(X,'kernel'); Use this ...

1 year ago | 3

Question

Convolution of two probability density function

Hello: I am interested to add two independent random variables, X1 and X2, described by kernel density functions. Is there any ...

1 year ago | 1 answer | 0

Question

PDF of paretotail distribution

Hello: I have fitted piecewise paretotail distribution where central distribution is kernel and tails are fitted with pareto di...

1 year ago | 1 answer | 0

Question

Convolution of CDF and a PDF using Kernel density estimator

Dear All: I am interested to add CDF described by Generalized Extreme Value and a PDF described by Kernel density estimator usi...

1 year ago | 0 answers | 0

Question

combining different size arrays based on time dimension and compute average for the last column

Hello: I have two disimilar sized arrays, M1 (37988x5) and M2 (37376x5). The first four column shows year,month,day and hour an...

1 year ago | 1 answer | 0

Question

Infil NaN for missing years in time series

Hello: I have two matrices, A and B. Matrix B has some years missing in it. I want to concatenate horizontally two matrices, A ...

1 year ago | 1 answer | 0

Question

Finding exact rank of a matrix element

Hello: I have two matrices A and B. I am attaching some parts of original matrices. My question is: how to find elements of mat...

1 year ago | 1 answer | 0

Question

Grouped boxplot with different lengths

Hello: I want to plot grouped boxplot in a single figure. My cell array contains foll mxn matrices.: G1: 108x2 G2: 293x2 G3:...

1 year ago | 1 answer | 0

Question

Extract maximum value out of two column in a row & delete the last row

Hello: I have two matrix A and B as below. I need to extract maximum value out of column 6th and 7th and delete the last column...

1 year ago | 1 answer | 0

Question

Undirected graph network with latitude and longitude as node

Is there any way to plot graph structure describing nodes, edges and links but with latitude and logitude as the co-ordinates us...

1 year ago | 2 answers | 0

Question

Problem in determining time dimension in netcdf file

Hello: I am analyzing EURO CORDEX wind data for 1979 - 01-01-1979-12-30 period. The time dimension of the associated netcdf fil...

1 year ago | 1 answer | 0

Question

How to calculate difference between two dates when my date is in dd-mm format only

Hello: I have dates of a partcular year as follows in the matrix format: month1 date1 month2 date2 6 9 10 1 ...

1 year ago | 1 answer | 0

Question

Shape within the Heat map plot

Hello: I want to plot heatmap of correlation matrix with significant cell value (p-value < 0.05) to be marked with a black symb...

1 year ago | 0 answers | 0

Answered

Problems with empty cell in a large matrix

Same here. If there are changes in number of digits before decimal, its not working. For example, "sample2.txt"

Problems with empty cell in a large matrix

Same here. If there are changes in number of digits before decimal, its not working. For example, "sample2.txt"

1 year ago | 0

Question

Problems with empty cell in a large matrix

Hello: I have a large matrix of 102730 rows in the form of text file (sample text file is attached) with some header files in i...

1 year ago | 3 answers | 0

Question

subplots of heatmap versus lineplots in same x-axes

Hello: I have a heat map plot at subplot(2,1,1) and a line plot at subplot(2,1,2). Both have the same x-axes. I want to show th...

1 year ago | 1 answer | 0

Question

Horizontal concatenation of sub-matrix into a bigger matrix based on value of first column

Hi I have three dissimilar size array which I am retrieving through a loop, in which the first column contains year and the seco...

2 years ago | 1 answer | 0

Question

sum of consecutive months value in an array

Hello: I have an array where the first, second and third columns show year, month and values. I need to sum the values of conse...

2 years ago | 1 answer | 0

Question

problem with projection of shapefiles in MATLAB Mapping toolbox

Hi, I have a georeferenced shapefile (created in ArcMap) of a watershed in WGS84 projection system. I also have latitudes lon...

2 years ago | 0 answers | 0

Question

Extracting row of a matrix based on maximum value of a column element

Hello all: I have a matrix as below. I want to build a new matrix based on maximum value at row 4 element. Here column 5 is t...

2 years ago | 1 answer | 0