Community Profile

# Abhishek Chakraborty

Last seen: Today Active since 2020

#### Content Feed

View by

Question

How to create the means of the spatial sub-units of a shapefile from a raster dataset?
I wanted to get the spatial averages from a raster file for each of the spatial sub-units of a shapefile. How to get the same? I...

12 dagen ago | 0 answers | 0

### 0

Question

How to create a chloropleth map using the mean of the shapefiles sub-fields from a raster file?
I am trying to create a chloropleth map which would show the means over the sub-regions of the shapefile using a raster file (th...

12 dagen ago | 1 answer | 0

### 1

Question

How to have a common colorbar for all tiledlayout plots?
I want to plot two arrays A and B (both having 4 rows and 8 columns) using the tiledlayout format so that both of them have a co...

6 maanden ago | 1 answer | 0

### 1

Question

How to find the row wise p values corresponding to each coefficient of linear regression?
I have 3 matrices Y, x1, and x2 each having 3420 rows and 29 columns. I want the row wise linear regression p values of Y on x1,...

6 maanden ago | 1 answer | 0

### 1

Question

My geotiffinfo command is not working suddenly. How to correct the error?
I was using the "geotiffinfo" command to read the lat and lon of a geotiff file. It was working well till last night but suddenl...

7 maanden ago | 0 answers | 0

### 0

Question

How to place a common colorbar for tiledlayout plots?
I wanted to place a large common colorbar towards "east" for a series of plots using tiledlayout. I used the following code: f...

7 maanden ago | 1 answer | 0

### 1

How to run a loop to find the Hurst exponent corresponding to each row of the array?
I got it myself. Here is the code for it: nsample = 22; nvar = 352736; H = zeros(nvar,1); for i = 1:nvar H(i,1)=genhurs...

8 maanden ago | 0

| accepted

Question

How to run a loop to find the Hurst exponent corresponding to each row of the array?
I have an array of 352736 rows and 22 columns , X. I want to find the Hurst coefficient corresponding to the elements in each ro...

8 maanden ago | 1 answer | 0

### 1

Question

How to make such a colorbar for bivariate analysis as shown in the attached figure below?
I wanted to make a colorbar for my maps like the one shown below. How to make such a colorbar on MATLAB?

9 maanden ago | 0 answers | 0

### 0

Question

How to find the multiple linear regression coefficients for this case?
I have three matrices each of 3420 rows and 28 columns, namely, y, x1, and x2. I want to build a multiple linear regression such...

ongeveer een jaar ago | 0 answers | 0

### 0

Question

How to find the row wise linear regression coefficients?
I have 3 matrices Y, x1, and x2 each having 3420 rows and 29 columns. I want the row wise linear regression coefficients of Y on...

ongeveer een jaar ago | 1 answer | 0

### 1

I have a 4 column matrix. I want to find the value corresponding to the minimum value of column 2. How to find it?
A=[1 2.4 3.4 5;2 -0.2 3 4;3 8.1 3.2 4;4 0.5 5 2]; [minvalue,index]=min(A(:,2)); A(index,1) ans = 2

ongeveer een jaar ago | 0

| accepted

Question

I have a 4 column matrix. I want to find the value corresponding to the minimum value of column 2. How to find it?
I have a matrix, A A=[1 2.4 3.4 5;2 -0.2 3 4;3 8.1 3.2 4;4 0.5 5 2] I want to find the value in column 1 corresponding to the ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to change heatmap xtick labels? Also, how to overlay (hold on) some dots over the heatmap?
My intention is to get a plot like this: I have a matrix similar to that for which I want to plot the correlation coefficie...

ongeveer een jaar ago | 1 answer | 0

### 1

How to reshape a matrix by rows?
Got it... B=reshape(A',1,[]);

ongeveer een jaar ago | 0

| accepted

Question

How to reshape a matrix by rows?
I want to reshape a matrix A into a row vector but it has to be reshaped row wise. The matrix is: A=[1 2 3 4;5 6 7 8;9 10 11 12...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to plot a matrix containing NaN?
I have a MATLAB 2-D array which I want to plot which contain only 2 numbers : 0 and 1. It also contains a few NaNs. I want to pl...

ongeveer een jaar ago | 2 answers | 0

### 2

Question

How to run a multiple linear regression of this format?
I want to run a multiple linear regression model of this form: where, is the intercept and all other terms are the coeffic...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to find the mean of 12 different 3-D arrays containing nan so that I can omitnan in the final calculations?
I have 12 different 3-D arrays, say A, B, C, D, E, F, G, H, I, J, K, L, each of them having the dimension of 60x57x372. All of t...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to mask a 3-D raster using a multiple feature attribute shapefile?
I wanted to mask a raster file using a shapefile which contains more than one feature attributes. For shapefile containing only ...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to convert cell array containing text to numbers?
I have a cell array containing a mixture of numbers and letters. I want to remove all the letters and keep only the numbers in i...

meer dan een jaar ago | 1 answer | 1

### 1

Question

How to read an xls file in matlab which has latitude (suffixed with N), longitude (suffixed with E), time (prefixed with the month), and a value corresponding to latitude and longitude in it?
The xls file looks like this... The first column is the longitude. I want to extract only the number from it. For example, i...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to assign a different value to a given value in a 2-D array?
I have a 900x1200 element 2-D array. Suppose it is A. I want to assign a value "1" to all the elements whose value is "5". How c...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to extract the first four and last four digits of all numbers of an array where each number is of 12 digits?
I have an array of over 200,000 numbers. Each of these numbers is of 12 digits. I want to extract and form another array with: (...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to interpolate the matrix A ?
I want to interpolate a matrix "A" containing 3633 rows and 3506 columns with many scattered NaNs to another matrix "B" containi...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to find row wise correlation coefficients and p values for two matrices?
I have two matrices, A and B. Both A and B have 3420 rows and 29 columns. I want the correlation coefficients and P values of th...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

How to plot a map with Latitude, Longitude and Elevation of India?
I have 3 arrays containing the Latitude, Longitude and Elevation. All three of them are column vectors and of India. How do I pl...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

How to plot a Multi Region Input Output plot?
I am working on a model through which I have to indicate the flows from several parts of the world to the other parts of the wor...

meer dan 2 jaar ago | 0 answers | 0

### 0

Question

Interpretation of multicomparison test results of MATLAB to give the letters to samples
I am conducting a one-way ANOVA test on my experimental results. After that, I want to know whether the means of the groups are ...

meer dan 2 jaar ago | 0 answers | 0