photo

Abhishek Chakraborty


Last seen: mer än ett år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Review

View badges

Feeds

View by

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 1 answer | 0

1

answer

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

nästan 2 år ago | 2 answers | 0

2

answers

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

nästan 2 år ago | 1 answer | 0

1

answer

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

nästan 2 år ago | 6 answers | 0

6

answers

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

ungefär 2 år ago | 1 answer | 0

1

answer

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

ungefär 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 0 answers | 0

0

answers

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år 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...

mer än 2 år ago | 1 answer | 0

1

answer

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?

mer än 2 år ago | 1 answer | 0

1

answer

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

ungefär 3 år ago | 0 answers | 0

0

answers

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

ungefär 3 år ago | 1 answer | 0

1

answer

Answered
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

ungefär 3 år 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 ...

ungefär 3 år ago | 1 answer | 0

1

answer

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

ungefär 3 år ago | 1 answer | 0

1

answer

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

ungefär 3 år 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...

ungefär 3 år ago | 1 answer | 0

1

answer

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

ungefär 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 1

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

Load more