Question

match elements of a matrix to an array

Hello, I have one matrix (A1) of size 4000x8000 and the second matrix (g1) of size 100000x2. I am trying to match each number ...

3 mois ago | 1 answer | 0

Question

for loop taking too long to operate

I have a matrices (b1 and popx) with size 25000x50000, code is a vector which contains unique values in b1 (of length 300). For ...

5 mois ago | 1 answer | 0

Question

perform matrix operation without for loop

I have a matrix (exp_data) of size 25000*45000. I need to perform the following operations as in the code, however with the for ...

5 mois ago | 2 answers | 0

Question

Performing matrix operation without loop

Hi, I have two matrices (A and B), each of size, 4000x8000x3 (i,j,k). The 'k th' dimension of both matrix contains median and...

6 mois ago | 2 answers | 1

Answered

Error in geoshow: (displaytype,'Surface')

pcolorm is an immediate alternative to using geoshow.

Error in geoshow: (displaytype,'Surface')

pcolorm is an immediate alternative to using geoshow.

7 mois ago | 0

Question

Finding and replacing numbers with NaN

Hello, I have a matrix where the numbers only made up of 9 are fill values and should be replaced by NaN.; For eg: There are n...

7 mois ago | 2 answers | 0

Question

Error in geoshow: (displaytype,'Surface')

Hi I am getting a weird error and the geoshow function is not working with 'Displaytype', 'Surface' and set(gca,'colorscale',...

8 mois ago | 1 answer | 0

Question

Find string corresponding to another string within a text file

Hi, I have a text file, I was trying to read the latitide, longitude and station name corresponding to the associated strings...

8 mois ago | 1 answer | 0

Answered

how to read NASA AMES FORMAT data

Okay, Matlab cannot read .nas files, so one needs rename the .nas files to .txt (or similarly suitable extensions), and then r...

how to read NASA AMES FORMAT data

Okay, Matlab cannot read .nas files, so one needs rename the .nas files to .txt (or similarly suitable extensions), and then r...

8 mois ago | 0

| accepted

Question

how to read NASA AMES FORMAT data

I havea data with '.nas' extension (NASA AMES FORMAT). Is there a way to read it. I tried readtable and dlmread. None would work...

8 mois ago | 1 answer | 1

Question

Extrapolate using half the slope than in original data

I have a set of 21 X,Y poinst which I intend to extrapolate by using slope (rate of change)= 1/2 than that is observed in the or...

8 mois ago | 1 answer | 0

Question

Interpolating point LAT,LON data to make gridded data

I have lat,lon,z point values (not gridded), I want to interpolate z at 1.875x1.875 degree resolution. The below code doesnot p...

11 mois ago | 0 answers | 0

Question

Interpolating scattered data within a shapefile/worldmap

Hi I have x,y,zi scattered data, where x is lon, y is lat and zi is the data, I want to interpolate and extrapolate the data wi...

11 mois ago | 1 answer | 0

Answered

How to make the graphs more smooth in matlab

Hi, you may use the print function to save your figure at a desired high resolution print(gcf,'fname.png','-dpng','-r800');%%%f...

How to make the graphs more smooth in matlab

Hi, you may use the print function to save your figure at a desired high resolution print(gcf,'fname.png','-dpng','-r800');%%%f...

environ un an ago | 0

Question

Match strings from 2 tables

Hi, I have 2 tables example: TA= 'Name' 'Code' 'AFG' 120 'CAN' 210 'BER' 121 'FIJ' 910 ...

environ un an ago | 1 answer | 0

Question

Finding matching strings from a table and making a new table

I have a huge table of size 18792010x57 (57) are the number of columns. As an example say the table (T) that looks like: 'A' ...

environ un an ago | 1 answer | 0

Question

Find corresponding values for unique values in a matrix

I have two matrices A and B. I want to add up elements in matrix B for every unique element in matrix A and return C A =[1 47 2...

environ un an ago | 1 answer | 0

Question

Matching elements in a matrix with elements in another matrix

I have a matrix, A=[1 3 4 3 1 5 NaN 3 6] and another index matrix B=[1 333 2 356 3 112 4 789 5 7...

environ un an ago | 1 answer | 0

Question

match vector with first column of matrix

I have a matrix 'Mat' and a vector 'v', I want to match the vector 'v' with the first row of 'Mat' such that I get an output 'r...

environ un an ago | 2 answers | 0

Answered

making coarse matrix from fine resolution matrix

scaling = 5; %%% I scale Z1 by factor of 5 so that sepblockfun works, %%%%% sepblockfun is developed by MattJ and is available...

making coarse matrix from fine resolution matrix

scaling = 5; %%% I scale Z1 by factor of 5 so that sepblockfun works, %%%%% sepblockfun is developed by MattJ and is available...

environ un an ago | 1

Question

making coarse matrix from fine resolution matrix

Hi, I am trying to make a coarse resolution matrix of 3600x1800 from a 8640x4320 matrix by summing up the elements of the matrix...

environ un an ago | 3 answers | 0

Question

To rasterize polygons without using GUI

Hi, I am trying to rasterize a feature (POP2005) of a shapefile containing 246 countries. If I follow the example in https://d...

environ un an ago | 0 answers | 0

Question

From vector data to raster

I am trying to convert a vector data corresponding to countries in a shapefile to raster at 0.1 degree resolution, For this I a...

environ un an ago | 0 answers | 0

Question

remove chunkSize while creating a nc file in matlab

I am creating a .nc file after processing another file in MATLAB. I want the created .nc file to be of exactly the same format a...

plus d'un an ago | 0 answers | 0

Question

Can the matlab bar function handle negetive values now?

I want to plot the negetive values in a stacked bar graph in the negetive direction. I became aware that the 'bar' function cann...

plus d'un an ago | 0 answers | 0