Pregunta


Error with interp1?
I have a variable, u10_B1B3, that is 851x1. I want it to be the same length as another variable, wc_B1B3, which is 7414x1, so I ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas