photo

Matthew Cooper


University of California, Los Angeles

Last seen: 12 days ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 2
  • Explorer
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
How do I change the projection of raster data in MATLAB?
I recommend using gdal, which can be called from Matlab using the system command or the shell escape character. Here is an examp...

3 years ago | 1

Answered
fprintf output line break
If you are writing to a file recursively, you may need to substitute 'a' for 'w' on fopen: fopen(fid,'foo.txt','w'); fprintf(f...

5 years ago | 3

Answered
fprintf doesn't create new lines
If you are writing to a file recursively, you may need to substitute 'a' for 'w' on fopen: fopen(fid,'foo.txt','w'); fprintf(f...

5 years ago | 1

Answered
geotiffread and MultiLayer images
I had the same problem with a DEM I generated using Agisoft Photoscan software. To solve the problem, I loaded the DEM into ArcM...

8 years ago | 1

Question


How can I set the NoData value using Geotiffwrite
I have MATLAB matrices that contain NaN values. These are raster data that contain NaN values (the NaN values are an ocean mask)...

9 years ago | 3 answers | 1

3

answers

Question


Function that returns index of first occurrence of largest value for each column of matrix
Hi, I would like to write a function that returns the index of the first occurrence of the largest value in each column of a...

9 years ago | 1 answer | 0

1

answer

Question


Mean of multiple large matrices with NaN's
I have 23 individual matrices each are 385x781x365. They are saved as .mat files, each are ~100mb. I would like to take the mean...

9 years ago | 0 answers | 0

0

answers

Question


How to plot a shapefile on top of digital elevation model using mapshow (or other)
Hi, I have read in a digital elevation model(dem) using; [dem, Rdem] = arcgridread('pathtodem'); I have read in a pol...

10 years ago | 1 answer | 0

1

answer

Question


Extracting a timeseries of x,y values from a series of .asc files
Hi, I have what I think is a very simple Matlab problem. I need to extract the value of an x,y cell in a series of .asc grid ...

11 years ago | 0 answers | 0

0

answers

Question


When using fprintf to format multiple strings, what does the integer after the % sign do?
Hi, Given something such as: fprintf('%5d %10.3f %8.5e\n',100,2*pi,pi); What do the numbers directly after the % sign d...

12 years ago | 1 answer | 2

1

answer