Community Profile

photo

Abhishek Chakraborty


Last seen: 7 Monate vor Aktiv seit 2020

Statistiken

  • Thankful Level 3
  • First Review

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

etwa ein Jahr vor | 0

| akzeptiert

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 6 Antworten | 0

6

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 2 Jahre vor | 0

| akzeptiert

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden