Community Profile

photo

Matthew Cooper


University of California, Los Angeles

10 total contributions since 2013

Contact

Matthew Cooper's Badges

  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Revival Level 1
  • First Answer

View details...

Contributions in
View by

Submitted


matrasterlib
a library of matlab functions for raster (spatially referenced gridded) data

6 months ago | 2 downloads |

Thumbnail

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

9 months ago | 2

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

9 months ago | 0

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

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

4 years ago | 2 answers | 0

2

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

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

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

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

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

7 years ago | 1 answer | 2

1

answer