Question

arrange the values in an array

I have an array A(80 rows and 5 columns). I want to export it as a table to microsoft word as the values in A (i:i+4,j)are place...

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

Question

number of elements

I have an array A(1483 rows, 417 columns) with integer values of 1 to 5. I want to know whithin each block 92*92(i:i+91,j:j+91),...

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

Question

error using text()

I want to put a text on a plot using the following code: x_pos=0.0031; y_pos=0.0507 str_=['R^2 (%) = ' num2str(R_squared)...

nästan 10 år ago | 2 answers | 1

Question

multiple plot for 3-dimensional array

I have a array A(16 rows,5 columns,32 bands) and a vecotr B(1 row, 32 columns). I want to make 16*5=80 plots as the first plot i...

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

Question

getting data type from a prompt in fread()

I want to import an array using the fread(), I wonder if I can use a prompt to get the type of file. I tried the following code,...

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

Question

multiple scatter plot

I have 4 arrays, A,B,C,D which their size is 80 rows, 4 columns. I want to make a scatter plot between the same column of each t...

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

Question

mean value of subarrays

I have a 3-dimensinal array ( 1483 rows, 417 columns and 4 bands). I am trying to get a mean value for each sub-array of 92rows*...

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

Question

convert zeros to nan

I have an array (10 rows,10 columns,5 bands) and wonder how I can convert the zero values to NaN. I used the following command l...

nästan 10 år ago | 4 answers | 0

Question

importing image

I have a big 3-dimensional array (1500 rows, 500 columns, 4 bands) in band-sequential (BSQ)format. I tried Multibandread() funct...

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

Question

loop for scatter plot

I have four matrix A,B,C and D and each of them has a dimension of (56 rows, 4 coulms). I want to scatter the same column of e...

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

Question

showing correlation on scatter

I want to show the R-squared value on the scatterplot. I am using corrcoef function to get the correlation value. I wonder how I...

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

Question

importing a raster image into matlab

I have a 3 dimensional array in ENVI format (bsq format). I wonder how can I import it in Matlab.I used the following code but i...

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

Question

array to vector conversion

I have a 3-dimensional array A which has 450 rows,210 coulms, 4 layers. I want to make a regression between A(450,210,1) and A...

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