# Reema Alhassan

**Statistics**

RANK**13,608**

of 281,911

REPUTATION**3**

CONTRIBUTIONS

**28** Questions

**4** Answers

ANSWER ACCEPTANCE **
57.14%
**

VOTES RECEIVED**2**

RANK**16,282** of 19,064

REPUTATION**4**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **2**

ALL TIME DOWNLOADS**46**

RANK

of 134,297

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

Calculate the Sum of the nightlights data from TIFF images

A program that read the nightlights data from the satellite images (TIFF) and calculates the sum of lights inside each geometry ...

4 years ago | 2 downloads |

Question

Why this error occurs in gunzip?

Error using untar (line 60) Unexpected end of input stream when attempting to GUNZIP the fileError using untar (line 60) Unexp...

5 years ago | 1 answer | 0

### 1

answerTo ignore the data files with error and proceed in the code

Do you know why this error occurs ?

5 years ago | 0

Question

how to write a long field in a shape file?

hello, I need to write a long field in a shape file but I couldn't for example I want the field to be "Sum2015vcm_orm" but...

5 years ago | 1 answer | 0

### 1

answerQuestion

Unzipping using system command ? I couldn't understand the command

someone wrote this and he said it was very helpful sys_cmd_unzip = @(z,d) ['"C:\Program Files\7-Zip\7z.exe" e -y -r -o"...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to write long field name in a shape file?

Hello everyone , I need to write new column in a shape file so I used setfield function SumOfLightColumn=strcat('S...

5 years ago | 1 answer | 0

### 1

answerQuestion

faster unzipping for large URLs?

Hello everyone, I'm using gunzip(url,folder); untar(url,folder); to unzip satellite images which has the extensio...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to display number in decimal ?

Hello everyone, I have tried : format long format short value=double(value) and the output still fraction number ...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to save the values after each iteration in a matrix ?

Hello everybody , I did some calculation in a loop and this is the output I need to put the value after each iteration in N...

5 years ago | 1 answer | 0

### 1

answerQuestion

is there a way to go to the line above using fprintf function ?

I'm writing on a csv file and I'm writing column by column for example here : for i = 1 : length(col) fprintf( fid, ...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to extract the fields header in the shape file?

Is there a way to extract the fields headers in the shape file ? 13×1 struct array with fields: I need to read the headers Ge...

5 years ago | 1 answer | 0

### 1

answerQuestion

xticklabels function for more than 11 labels ?

Hello everyone , I need to use the function "xticklabels" for labeling the x-axis this is my code: figure (1) xti...

5 years ago | 2 answers | 0

### 2

answersQuestion

about poly2mask function

Could anyone please explain me this : I'm using poly2mask function to creat a mask of a polygon with an image the documentation...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to specify the polygon edges ?

Hello every one , I want to ask what Is the polygon edge ? which is requires here in the inputs parameter? https://ww2.math...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to convert matrix size

I have a matrix s which has the size : 2882x2575 then I convert it to 7421150x1 by this: s1=s(:); and I did some pro...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to merge two matrix to one matrix ?

I have x and y coordinates I need to merge them into one matrix having the size: Mx2 x=[50.2124 50.2133 50.2134 50.2134 5...

5 years ago | 1 answer | 0

### 1

answerQuestion

function faster than inpolygon()?

Is there a function faster than inpolygon()? or another way to do the intersection ? because it sometimes takes too much tim...

5 years ago | 0 answers | 1

### 0

answersQuestion

how to deal with large polygons ?

hello everyone, I'm using geoimread() to read the image with the x and y coordinates of each polygon. and then I extract the x ...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to clip geotiff image ?

hello everyone I have a geotiff image and 4 coordinates xmin, xmax, ymin,ymax (the boundingBox of a shape file) I need to cl...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to convert the shape file to mask (binary)?

I need to convert the shape file to binary matrix with the size of the image that I have to multiply it with the values of the...

5 years ago | 0 answers | 0

### 0

answersQuestion

why X and Y coordinates must have the same size ?

hello, I have an image and a shape and I need to clip the image based on the coordinates of the shape but when I do this I...

5 years ago | 1 answer | 0

### 1

answerQuestion

how to clip an image based on x and y coordinates

hello everyone I have a satellite image and I need to clip the image based on the coordinates of x and y from a shape file I h...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to extract the information from shape file and write it in excel file

hello everyone I have a shape file which has 13 polygons and every polygon has 24 fields of information I need to extrac...

5 years ago | 0 answers | 0

### 0

answersQuestion

how to make a variable execute only once ?

Hello I have a viable t I want it to be 0 only for once then I need to increment it by 1 each time when I do this t=0...

5 years ago | 2 answers | 0

### 2

answersQuestion

convert number in a matrix to a scalar

Hello everyone I have matrix "values" and I need to sum all of it's element so I use sumOFvalues= sum(values(:)); the sumOF...

5 years ago | 2 answers | 0

### 2

answersQuestion

how to make a consecutive matrix before and after the decimal point?

Hello everyone , I have two numbers a=38.656528472900447 and b=43.667495727539006 I want to make an array which start from a...

5 years ago | 1 answer | 0

### 1

answerStatistic summary of values of raster pixels inside polygons?

Hello Marmar, this is exactly what I need to do if you have a code of doing this could you share it please ? till know I can...

5 years ago | 0

Question

How to extract polygons coordinates from shape file?

hello, I have a shape file which contains 10 polygons I need to extract the coordinates for each polygon how can I do that ?...

5 years ago | 1 answer | 0

### 1

answerQuestion

clip Geotiff image by many polygons

Hello everyone, I have a geotiff image and a shape file which contains 13 polygons and I need to clip this image based on these...

5 years ago | 1 answer | 0

### 1

answerQuestion

How can i perform zonalstat for irregular polygons ?

Hello there, Does anyone know how to perform zonalstat for irregular polygons in Matlab? Are there any functions to do that ...

5 years ago | 0 answers | 0