Question


How to average data within bins when values are not integers?
I'm analyzing whitecaps, named 'wc_average', against wind speed ('new_u10wcav'). I want to bin the windspeeds and average the wh...

3 years ago | 1 answer | 1

1

answer

Question


Why am I getting the error that the 'dimensions of arrays concatenated are not consistent'?
I have a list of DOY numbers that also contain the hours and minutes that I want to convert to datetime. The variable is DOYfilt...

3 years ago | 0 answers | 0

0

answers

Question


Length of variable is much shorter during a loop?
I have a variable 'DOYfilt' that has a sizw 1408x1 double. It contains datenums so I have a for loop to convert it to datestring...

3 years ago | 1 answer | 0

1

answer

Question


How do I convert a date time format that's (dd-MMM-yyyy hh:mm:ss) to (dd-MMM-yyyy hh)?
I'm having trouble converting a datetime column thats in the format (dd-MMM-yyyy hh:mm:ss) to (dd-MMM-yyyy hh), so basically jus...

3 years ago | 1 answer | 0

1

answer

Question


Error with matrix multiplication?
I have two matrices I'd like to multiply. Matrix A has dimensions 107x817. Matrix B has dimensions 817x1. My understanding of ma...

3 years ago | 2 answers | 0

2

answers

Question


How to select rows in a matrix with a for loop?
I have a 3061x107 matrix. I want to reduce it to a 817x107 matrix. My current code currently saves what I want as a new matrix i...

3 years ago | 1 answer | 0

1

answer

Question


Extrapolate values for a variable that is dependent on three other variables?
I have data downloaded for three variables: Temperature (85x1) Salinity (85x1) Pressure (85x1) I use the three variables to ...

3 years ago | 1 answer | 0

1

answer

Question


Error message for extrapolation?
I keep getting an error message when using the interp1 function. For some background, I have 107 files that all have the same va...

3 years ago | 1 answer | 0

1

answer

Question


How. do I combine variables into one Matrix?
I have about 25 stations with the same variable. I want to extract the variable from each file and combine them into one matrix...

3 years ago | 1 answer | 0

1

answer

Question


How do I reinterpolate density into uniform depth values?
I have density values from ~245 files from hydrographic data. So each file contains a list of density values with depth. I want ...

3 years ago | 1 answer | 0

1

answer

Question


Calculate pressure gradient between two areas?
So I have two variables, zonal1 and zonal2. Each variable contains a list of latitude, longitude, and pressures. I need to calcu...

3 years ago | 1 answer | 0

1

answer

Question


How to solve error "Index exceeds matrix dimensions" when reading netcdf file?
I'm trying to import some variables from a netcdf file. The variable "wind speed" has dimensions of 1x1x42456 or lat xlon x time...

3 years ago | 1 answer | 0

1

answer

Question


Find percent difference between 2 columns in variable?
So I have a variable, x, that has a size of 300x2. It calculates the fraction of an image that is white, and therefore it produc...

4 years ago | 1 answer | 0

1

answer

Question


How do I get the date out of a filename using regexp?
Currently, I have a list of files that are saved as the following 'xxx_2014_06_03_00_00_01'. I'd like to extract the date in the...

4 years ago | 3 answers | 0

3

answers

Question


How to get rid of '._' files on a hard disk?
Hello everyone! I'm working on analyzing some images with a code, and all my files and matlab codes are running on an external ...

4 years ago | 2 answers | 0

2

answers