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

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

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

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

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

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

circa un anno 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...

circa un anno 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...

circa un anno 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...

oltre un anno ago | 1 answer | 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 ...

oltre un anno 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 ...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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 ...

oltre un anno 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...

oltre un anno 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:...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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 ...

oltre un anno 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...

circa 2 anni 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"

circa 2 anni 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...

circa 2 anni 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...

circa 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni ago | 1 answer | 0