Community Profile

photo

SChow


Last seen: 4 months ago Active since 2019

Statistics

  • Thankful Level 3
  • First Answer
  • First Review

View badges

Content Feed

View by

Question


make separate table for sets of lat lon that appears x times in a big table.
Hi I have a big table 'A' (attached) and I am trying to make multiple tables out of it. Each for a set of lat and long that appe...

6 months ago | 1 answer | 0

1

answer

Question


Find the first appearance of a number in a row.
Hi I have a matrix A from which I need to return a vector which contain the index of first occurence of a number say 2030 such t...

7 months ago | 1 answer | 0

1

answer

Question


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 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 0

| accepted

Question


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

3 years ago | 1 answer | 0

1

answer

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 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 2 answers | 1

2

answers

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

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

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

4 years ago | 1 answer | 1

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

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

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

Load more