photo

Abhishek Chakraborty


Last seen: plus d'un an il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3
  • First Review

Afficher les badges

Feeds

Afficher par

Réponse apportée
How can I plot two images with different colormaps in a tiledlayout format?
A=rand(604,584); B=rand(604,584)+2; x=1:584; y=1:604; figure; t = tiledlayout(1,2,'TileSpacing','none'); ax1 = nexttile; ...

presque 2 ans il y a | 1

| A accepté

Question


How can I plot two images with different colormaps in a tiledlayout format?
Suppose I am trying to plot two images: one in "jet" colormap format and the other in "parula" colormap format. I tried this cod...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to extract date, month, year, and time from a table data?
I have a table data like "A" like this: >> A(1:49,1) ans = 49×1 table DateTime _________________...

environ 2 ans il y a | 2 réponses | 0

2

réponses

Question


How to create a chloropleth map from a given raster array and Lat Lon meshgrid arrays?
I have a raster array (R), a shapefile (District_Boundaries.zip), and lat lon meshgrid arrays (LatGrid.mat and LonGrid.mat). How...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to standardize an array so that the maximum value is 1 and minimum is -1 keeping the zero value as zero?
I wanted to standardize an array so that the maximum value of the array takes the value "1" and the minimum value takes the valu...

environ 2 ans il y a | 6 réponses | 0

6

réponses

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

environ 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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

plus de 2 ans il y a | 1 réponse | 0

0

réponse

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

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?

presque 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 1 réponse | 0

0

réponse

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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

environ 3 ans il y a | 0

| A accepté

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 0

| A accepté

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 2 réponses | 0

2

réponses

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 1

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Charger plus