Community Profile

# SChow

Last seen: Today Attivo dal 2019

#### Content Feed

Visto da

Domanda

Buffer around a value in a matrix.
Hi I am struggling with building a buffer of values around a specific value in a matrix. For example I have a matrix A=[ 0 0 0...

1 giorno fa | 1 risposta | 0

### 1

risposta

Domanda

Combine all MODIS 1km tiles for one day and make a global matrix
Hi, I am trying to combine all MODIS 1km tiles (there are 35*17 sinusoidal grid tiles each of size 1200x1200, see https://modis...

11 giorni fa | 0 risposte | 0

### 0

risposte

Domanda

Build a Nonlinear Regression model
Sorry for the very basic question. But I am just trying to figure out the best way to proceed. I have a table (10000*4) with 3 ...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Match numbers to allocate text
Hi, I am struggling to match numbers to assign a corresponding string. For example, I have an array x=[A 12 B 13 C...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

Circular bar graph in matlab
Hi, I have a table with two columns(headers- Country, Population) and 100 rows. I would like to plot a circular bar graph like i...

5 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

replace values in a matrix by their histogram bin numbers
I have a large matrix 10000x10000 As I draw a histogram by 10 bins, I was wondering if there is a simple way by which I can rep...

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Match folder names with file names and rename the folder
I have a path folder names as follows: ~/directory/2000/land/cities/Muscat/ ~/directory/2000/land/cities/Riyadh/ ..... 1000 ...

circa un anno fa | 0 risposte | 0

### 0

risposte

Domanda

Matching matrices based on two columns
I have two matrices A and B, I am trying to match these by 2 columns of B and when they dont match instert Nan as fill value A=...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Risposto
Keep selected rows in a struct file
%%jn is the array, (not converted to cell array that I was originally %%converting it to , and I should have used square brac...

oltre un anno fa | 0

| accettato

Domanda

Keep selected rows in a struct file
Hello, I have a 600x1 struct file with 5 fields. One of the field is 'labels', containing random numbers from 1 to 1000. and a ...

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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 ...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 ...

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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 ...

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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...

oltre 2 anni fa | 2 risposte | 1

### 2

risposte

Risposto
Error in geoshow: (displaytype,'Surface')
pcolorm is an immediate alternative to using geoshow.

oltre 2 anni fa | 0

Domanda

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...

oltre 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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',...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Risposto
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...

oltre 2 anni fa | 0

| accettato

Domanda

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...

oltre 2 anni fa | 1 risposta | 1

### 1

risposta

Domanda

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...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

oltre 2 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Risposto
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...

circa 3 anni fa | 0

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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' ...

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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...

circa 3 anni fa | 2 risposte | 0

### 2

risposte

Risposto
find the nearest values
Try the ismember function

circa 3 anni fa | 0