Community Profile

photo

Hana


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


number of column and rows of different images
I am working with number of satellite images. To be able to work with them in matlab they should have a same number of col and r...

6 years ago | 0 answers | 0

0

answers

Answered
read netcdf4-beam file error
Thanks for your reply. Do you mean that I need to convert netcdf4 to netcdf? How can I do it?

7 years ago | 0

Question


read netcdf4-beam file error
I need to raed the sentinel-1 satellite data which has netcdf4-beam format. I use the data = netcdfload(file); to read the data ...

7 years ago | 2 answers | 0

2

answers

Question


To Calculate the slope
B= [ones(length(x1),1) x1(:)]\y1(:); % Estimate Regression Parameters yf = [ones(length(x1),1) x1(:)]*B; % C...

7 years ago | 1 answer | 0

1

answer

Question


how to get the pixels or identify the pixels which fall into a shapefile which overlap the image?
I have a tiff file and a shape file.my tiff file is larger than my tiff file. I just need those pixels which are within the shap...

8 years ago | 0 answers | 0

0

answers

Question


How to work with some part of matrix only?
I have several tif images. their size is big and I get a memory error for that. Thats why I decieded to select a part of them an...

8 years ago | 2 answers | 0

2

answers

Question


read and save img file
when I use the command fopen and fread to input the image with img format,the mat file shows the streched values (from 0-255)rat...

9 years ago | 0 answers | 0

0

answers

Question


How to read large tiff or img file?
My files are huge with [12200,5010] rows and column. I read them in the following format: fid=fopen('lc60_4.img','r'); LU...

9 years ago | 2 answers | 0

2

answers

Question


how to read img file in matlab
The img file I have is retrieved from arcgis.How can I open and read it?

9 years ago | 1 answer | 0

1

answer

Question


how to reduce the size of a matrix ?
I have 7 tiff files each with (11055,18845) number of rows and columns.while reading them as tiff file in matlab I get memory er...

9 years ago | 0 answers | 0

0

answers

Question


How to improve my code in order to overcome the memory error
I have seven tiff files with (10265,18230)number of rows and columns. most of the pixel values are nan. I get memory error. Ho...

9 years ago | 0 answers | 0

0

answers

Question


replacing nan values with the closest pixel value
I have to matrices A=[ 2 3 4 5 6 7 ; 2 4 nan 6 7 8; 4 nan 6 7 8 8] B=[nan nan nan 5 6;nan nan nan 4 5 nan;nan 6 nan nan 7 n...

9 years ago | 2 answers | 0

2

answers

Question


How to save subplots as tiff and fig?
subplot(2,2,1); plot(x1,y1,'.g'); ylim([-10 20]) xlim([-10 10]) subplot(2,2,2); plot(x2,y2,'.b'); ylim([...

9 years ago | 1 answer | 0

1

answer

Question


How to improve saving a scatter plot from three arrays with size 1*508654896
using 3 arrays R,S and T I want to make a scatterplot,but it takes a lot of time to save the scatterplot and sometimes crashed. ...

9 years ago | 1 answer | 1

1

answer

Question


How to delete nan from array
B=[nan 8 nan;6 nan nan;6 5 8] C=[nan 4 nan;4 nan nan;5 3 2] Answer: B=[8 6 6 5 8] C=[4 4 5 3 2]

9 years ago | 1 answer | 1

1

answer

Question


delete nan values and the corresponding value in another array
I have three arays: I want to plot B(x axis) and C(y axis).if there is a nan in any of A,B or C that cell should be deleted with...

9 years ago | 1 answer | 0

1

answer

Question


draw linear regression lines and finding slope
I have a very big data set(about 20,000,000 points)and matlab get crash when I want to draw linear regression line after plottin...

9 years ago | 1 answer | 0

1

answer

Question


How to find the slope of regression between two sets of data and save the scatter plot as fig
a=load(a) S=load(S) T=load(T) aa= find(a>=0 & a <0.2); x1 = S(aa); y1 = TB(aa); scatter(x1,y1,'MarkerFaceColor','g...

9 years ago | 1 answer | 0

1

answer

Question


Undefined function or method 'ge' for input arguments of type 'struct'.
I get error on line aa= find(RVI>=0 & RVI <0.2);Do I need to load my mat file in some other way? A=load('A.mat') B=load(...

9 years ago | 1 answer | 0

1

answer

Question


set the values to nan
tb1=[1 2 3 ; 4 5 6 ; 7 8 9]; A1=[0 0 1;1 1 1;0 1 1]; I need to create a new array B1=[nan nan 3;4 5 6;nan 8 9] when A1=0,...

9 years ago | 2 answers | 0

2

answers

Question


operation on three images, one of the images is smaller than the others and they overlay each other
Here B and C cover the same area but A covers some parts of B and C.I want to do some operation where A covers the area. the fin...

9 years ago | 0 answers | 0

0

answers

Question


How to reshape an array into 3 different matrix with different sizes?
I want to reshape A into 3 matrices m1,m2,m3: A=[1 2 3 4 5 6 7 8 9 4 5 3 5 3 2 5 4 2 4 7 5 ]; m1=-9999*o...

9 years ago | 2 answers | 0

2

answers

Question


I run my matlab code in a cluster but it does not show me the scatterplots...how to have scatterplot in cluster?
I run my matlab code in a cluster but it does not show me the scatterplots...how to have scatterplot in clus

9 years ago | 0 answers | 0

0

answers

Question


I want to calculate the mean of the cells in 3 different images(T1,T2,T3),when the condition applies. each pair of R and T are overlapping and have the same size but T1,T2,T3 have different size
The cellfun function returns 3 diffrent mean valued for each array..I need a single mean value calculated from all the arrays. ...

9 years ago | 1 answer | 0

1

answer

Question


How to find slope for each pixel?
I have two tiff files. Tb.tif is on y axis and s.tif is onx axis. A = imread('Tb.tif'); S =imread('s.tif'); I want to c...

9 years ago | 1 answer | 0

1

answer

Question


How to calculate the slope of each pixel?
Suppose I have to tiff files Tb and sv. I can find out slope through y=ax+b by plotting Tb on y axis and sv on x axis. But I nee...

9 years ago | 0 answers | 0

0

answers

Question


How to calculate the mean from different images at once? TBV1 and RVI1 cover each other and have the same size. in the following code I calculated thea mean of all the pixels of Tb where the condition applies.I have 3 more set of Tbv and RVI .
I need to calculate mean of all pixel of TBs where condition (RVI>=0 and RVI<=0.2)applies.my images are Tbv2,Tbv3,Tbv4 and RVI2,...

9 years ago | 1 answer | 0

1

answer

Question


calculate mean from different images
I can calculate mean of Tbv and Svvc using the following link.I have more images lets say Tbv2,Svvc2,RVI3,Tbv3,Svvc3,RVI3. I wa...

9 years ago | 1 answer | 0

1

answer

Question


Calculate mean from three different matrices when condition applies
I want to calculate mean from the images S1,S2,S3 where land is equal to one.Is it a correct way of writing it? and later I want...

9 years ago | 1 answer | 0

1

answer

Answered
For standard eigenproblem EIG(A), A must be square
what is the solution then?

9 years ago | 0

Load more