Question

Plot data (3d) only inside polygon

I am trying to plot data (45*56*6) only inside polygon and i tried these steps imported shapefile and run query to sperate data...

1 year ago | 0 answers | 0

Question

How to delete/alphadata values of 3d data outside polygon without change the dimensions of data

We can delete the values of matrix outside polygon as data = 12*17*6 x,y,S.X and S.Y are belongs to polygon isin = inpolygo...

1 year ago | 0 answers | 0

Question

How to calculate the linear regression of each cell of z value of array data?

How can calculate the linear regression/trend for z value of array for example 10*16*108 and I want to apply regression formul...

1 year ago | 0 answers | 0

Question

How to convert 3d monthly data into season

Example of my data set is 56*42*360 (30 years) and each page represent a month for example 56*42*1 mean jan 1980 and 56*42*13 me...

1 year ago | 2 answers | 0

Question

Plot array data with its values only inside polygon

I have a data 420*940*6 (the value of each grid varies from 0-100) and I want to plot data only inside polygon (s). lat (420*1...

1 year ago | 1 answer | 0

Question

How to regrid the spatial data in netcdf format directly without reading it

I am dealing with a large size data (aprox 3 Gb) in netcdf data with 0.004 degree resolution, trying to regrid it to 0.05 degree...

1 year ago | 1 answer | 0

Question

How to import 3GB netcdf file into matlab

I know, how to read netcdf data into matlab and due to the size of this file (3gb) maltab is saying out of limit (array exceeds ...

1 year ago | 1 answer | 0

Question

HOw to import and dump many hdf data into matlab at once

I have data file around 500 similar to attached one and I want to import all of them in matlab to carry out further analysis. T...

1 year ago | 0 answers | 0

Question

How to convert unconsistan cell array into 3d matrix?

I have cell array of daily temperature data of 18 years including leap year i.e 18*1 and each cell consist on 720*360*366/365 (n...

1 year ago | 1 answer | 0

Question

How to Calculate linear trend for each column of a matrix

Can we calculate the linear trend of each column of a matrix without drawing any line, For example I want to calculate the line...

1 year ago | 2 answers | 0

Question

Plot 2D line graph for each column in separate box having with minor grids on

The plot should consist on 36 2D line graph each in a separat box with unique x and y lable and 36 line graph must be in single ...

1 year ago | 1 answer | 0

Question

How to plot sptail data with shapefile?

I have data of 12 month, latitude(420), longitude(940),data(940*420) and shapefile and I want to make plot similar to attach pi...

1 year ago | 0 answers | 0

Question

Why 'for loop' is very slow even working on server

My 'for loop' looks like iwant = cell(a,b); for i =1:17 c = data(:,:,i); for j = 1:b idx = inpolygon...

2 years ago | 2 answers | 0

Question

How to distribute the data having X and Y address into direction/side

We can extract geographical data (15*25*32) at different elevation with the help of elevation polygon, but how we can distribute...

2 years ago | 0 answers | 0

Question

plot matrix of grid data with lat and lon

We can plot the grid with lat long by different ways e.g map/geoshow, contour, image e.t.c but how we can make matrix of such pl...

2 years ago | 1 answer | 0

Question

Why matlab is taking long time for data analysis on linux server

I am trying to execute the below codes but it is taking long time s = shaperead('grid_area2000.shp'); N = length(s); fo...

2 years ago | 0 answers | 0

Question

How to creat and edit m-file on linux server?

I am using xming to access ubuntu server from windows 10 to use matlab there. I have successfully accessed and open matlab there...

2 years ago | 0 answers | 0

Question

How to extract array subset with polyline (line feature)

We know to extract array subset with polygon <https://www.mathworks.com/matlabcentral/answers/407463-how-to-subset-the-matrix-ar...

2 years ago | 0 answers | 0

Question

How to catch/find ''Index exceeds matrix dimensions'' error line?

We can catch error line by dbstop if all error dbstop if error dbstop if caught error e.t.c I have no idea how to ...

2 years ago | 1 answer | 0

Question

How to subset the matrix/array with shape file?

I have matrix of 890*751 and array 890*751*5 and I want to clip/crop/subset this matrix and array with shape file. The shape fil...

2 years ago | 1 answer | 0

Question

How to find the page of an array with it number/name and values, having max and min values as a whole page

I have an array (10*8*12) and has find the page with its values and number, having max and min values as whole. For example ...

2 years ago | 1 answer | 0

Question

Writing the matlab matrix in geotiff, whats wrong with this script?

What I am making mistake here? basename = 'test'; rasterSize = [890 751]; refmat = makerefmat( ... 'RasterSize', ras...

2 years ago | 1 answer | 0

Question

How to import array/matrix into arcmap/arcgis

I have mat. data set 25*25*10 with latitude and longitude in, how I can import it into arcmap? I have not idea about it, thanks...

2 years ago | 0 answers | 0

Question

Extract specific values of first set of matrix on base of condition from second set of matrix

There are two sets of matrix (A and B) with same size (8*8*5), A is precipitation data having random values from -10....to ....9...

2 years ago | 1 answer | 0

Question

Index exceeds matrix dimensions.

Daily 10*10 grid precipitation data of 6 days (10*10*6) includes NaN, zeros and negative values. We are trying to replace the Na...

2 years ago | 2 answers | 0

Question

Fill NaN cell with mean of eight surrounding cells in grid data in matlab

I am trying to fill the NaN values of grid data with 8 surrounding values but could not understand, what is going wrong here in ...

2 years ago | 2 answers | 0

Question

How to write the Netcdf file including latitude, longitude and time.

I am not a native English speaker so ignore the language mistakes. I have 2 variables along with lat, long and time, trying t...

2 years ago | 1 answer | 0