Question


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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 1

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 2 réponses | 0

2

réponses

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 3 réponses | 0

3

réponses

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

environ 5 ans il y a | 2 réponses | 0

2

réponses