Question

Extracting a matrix by row and column from a large matrix

I have a matrix like 1 1 1 2000 1 1 1 2000 1 1 1 2000 2 2 2 3000 2 2 2 3000 2 2 2 3000 3 3 3 5000 3...

2 months ago | 1 answer | 0

Question

Error: Function definitions are not permitted in this context.

I am trying to do modified menn-kendall in matlab and the code is function[H,p_value]=Mann_Kendall_Modified(V,alpha) Wher...

11 months ago | 1 answer | 0

Question

Creating stacked bar in matlab

I have a data like that if true % code end 1971-2005 90 8.76 1.24 2006-2040 90.6 7 2.4 2...

1 year ago | 1 answer | 0

Question

How to flip values greater than zero in a row

If I have a row in matrix like that 0 0 0 0 1 2 3 0 0 0 I want to make it like that 0 0 0 0 0 0 3 2 1 0 If it is...

1 year ago | 1 answer | 0

Question

reverse of row in matlab

If I have 23 columns and five rows like this if true % code end 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 and...

1 year ago | 1 answer | 0

Question

plotting points and boxplot on a single figure

I have some datasets in such a manner if true % code end mean q5 q50 q95 historical -...

1 year ago | 0 answers | 0

Question

how to calculate mean,5 percentile of first quartile q5, 50 percentile of second quartile q50 and 95 percentile of third quartile q95

I have thirty years of rainfall dataset and i have to calculate it's mean,5 percentile of first quartile q5, 50 percentile of se...

1 year ago | 1 answer | 0

Question

Converting rotated pole to actual grid

I have downloaded cordex data for world and it has rotated pole.I want to convert into regular grid.The file is attached.If ther...

1 year ago | 0 answers | 0

Question

rearrange the dimension of lat and lon in matrix

There are 113 latitude and 226 longitude.I get a matrix in dimension 113*226.But I want it in 226*113.If it is possible to obtai...

1 year ago | 1 answer | 0

Question

how to create lat lon matrix in matlab

I want to create a latitude longitude 4*4 dimension matrix of temperature from dataset where temperature is in third column ...

1 year ago | 0 answers | 0

Question

How to match the values at two different columns in matlab

I have some value like this lon lat elevation 77.75 32.075 5826 77.75 31.775 5444 77.85 31...

1 year ago | 1 answer | 0

Question

extract lat lon from ascii grid file

I have a ascii file of 0.0625 raster grid file. ncols 638 nrows 638 xllcorner 60.0625 yllcorner 0...

1 year ago | 0 answers | 0

Question

How to add one colorbar for three images for different range in matlab

I have a file having temperature data for three different time period 77.1500000000000 31.5000000000000 31.2848032786885 20...

2 years ago | 0 answers | 0

Question

How to add level on an image in matlab

I have created a temperature map for a rive basin(added).I have raingauge station at certain lat lon.I want to display them on i...

2 years ago | 1 answer | 0

Question

Regriding of nc file

I have a cmip5 nc file of 0.5 degree.LAT LON Pressure and time these are the four dimensions of this nc file.The time is from 19...

2 years ago | 1 answer | 0

Question

how to multiply one number with matrix

I have a matrix of size 3*4*4*9862 3=lat 4=lon 4=pressure 9862=number of days I want to multiply 9.80665 with t...

2 years ago | 1 answer | 0

Question

how to regrid MPI-ESM-MR to 0.5*05 degree from 1.87 degree lat*1.87 degree lon

I have to billinear interpolate MPI-ESM-MR netcdf file from 1.87*1.87 degree to 0.5*0.5 degree. latitude=-88.572166442871100 to...

2 years ago | 1 answer | 0

Question

how to write attribute in netcdf file when creating it

I have extracted information from one netcdf file and writting it to another netcdf file.I have created the netcdf file by ...

2 years ago | 1 answer | 0

Question

variable dimension change nc file

I have downloaded era specific humidity data in .nc file.In that data specific humidity as a variable is present ant that is 4x...

2 years ago | 0 answers | 0

Question

MLTOOLBOX site not opening

I am working on statistical downscaling through METEOLAB MLTOOLBOX Matlab.But the site is not opening.It is telling Service Te...

2 years ago | 0 answers | 0

Question

extracting variables from nc file

I have cmip5 SPECIFIC HUMIDITY data for RCP 4.5.When I open it in matlab it is showing plev end Size: ...

2 years ago | 1 answer | 0

Question

Interpolation or regridding of CMIP5 climate data

I have CMIP5 climate model data MPI ESM MR of lat grid 1.865 and lon grid 1.875.I want to interpolate or regrid it into 0.5*0.5 ...

2 years ago | 0 answers | 0

Question

create day month and year

I want to create three tables in Matlab Year,Month and Day and then concatenate into one column so that 1970 1 1 1970 1 2 ....

3 years ago | 2 answers | 0

Question

average of one column of many text file

I have three hundrad text files and each have 4 columns.I have to do average of 3rd column of all the text files.It will come as...

3 years ago | 1 answer | 0

Question

zonal stat in matlab

I want to do zonal statistics for an area.I have a shapefile and a raster image and nc file also.If there is any way to do zonal...

3 years ago | 0 answers | 0

Question

How to add wind direction to image

Sir I have done a plotting of soil moisture map for a region and plot its shapefile upon it.My code is if true % code ...

3 years ago | 1 answer | 0

Question

add shapefile behind an Image

I have a India shapefile.I show it in matlab a=shaperead(file);s=mapshow(s);I want to show only upper portion of india behind an...

3 years ago | 2 answers | 0

Question

adding boundary to shapefile

Sir, I plot an Image from a nc file by using imagesc(lon,lat,a);I want to add my area shapefile.I import s=shaperead(shapefile)...

3 years ago | 2 answers | 0

Question

Extract data by shapefile

How to extract data from nc file by using shape file in matlab. I am sending a sample .nc file of resolution 1*1 degree and shap...

3 years ago | 3 answers | 1

Question

extracting particular row and column

I have a matrix like this 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 5 6 7 8 5 6 7 8 5 6 7 8 5 6 7 8 9 10 11 1...

3 years ago | 2 answers | 0