Community Profile

photo

Shayma Al Ali


Last seen: Today Active since 2019

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


How to rewrite my code so it's faster?
I need to filter out some data from a variable called track1.ph. This variable contains photon height data. Another variable cal...

1 día ago | 0 answers | 0

0

answers

Question


Interactive plot - how to open plot by clicking a point in another plot?
I have two variables: Th and SWH which are two 40x1 arrays. In a loop, I use a value from Th to find the peaks in a timeseries i...

2 meses ago | 1 answer | 0

1

answer

Question


How do I compare two vectors of different length without interpolation?
Hi everyone! I have 3 vectors that consist of photon heights from 3 different beams. Each vector has different lengths. I'm inte...

5 meses ago | 1 answer | 0

1

answer

Question


Pwelch only returns a single value?
I am trying to use the pwelch method in order to calculate the coherence magnitude squared between two signals with confidence i...

6 meses ago | 0 answers | 0

0

answers

Question


How do I find if the three arrays of unequal size have the same values?
I have three arrays (ind1, ind2, ind3) that contain indices for three other arrays (ph1,ph2,ph3). ph1 ph2 and ph3 are functions ...

6 meses ago | 3 answers | 0

3

answers

Question


H5read Error?
I keep getting this error when trying to read some variables from a few h5 files. The error I get is: Error using h5readc The ...

9 meses ago | 0 answers | 0

0

answers

Question


Getting error that output argument is not assigned during function when it is?
I have a function that finds wind speeds between certain lats and lons. This is the first line in my function: function [d,ccm...

9 meses ago | 1 answer | 0

1

answer

Question


How to get the indices from a matrix and apply it to vectors?
I have a matrix of wind speeds that is 80 x 160. I also have vectors of latitudes (80x1) and longitudes (160x1). I want to be ab...

9 meses ago | 1 answer | 0

1

answer

Question


Scattered points not plotting on top of pcolorm?
I want to make a plot of wind speeds as a colormap and then plot points on top of the colormap that shows the trajectory of a sa...

9 meses ago | 0 answers | 0

0

answers

Question


Interpolation is wrong?
Hi everyone! I have a variable, 'wc_average' that I'd like to interpolate so it's the same size as another variable 'dep_cal20...

9 meses ago | 2 answers | 0

2

answers

Question


How to download files online using Matlab?
I need to download many (like hundreds or thousands) of HDF files from an online database. What functions can I use so I can con...

9 meses ago | 1 answer | 0

1

answer

Question


Convert from Coordinated UTC to datetime?
I have a list of times formatted in coordinated UTC time. For example, the first data entry point I have is 1.511092230713565e+...

9 meses ago | 2 answers | 0

2

answers

Question


Inverse of matrix is wrong?
I have a 583x583 matrix called "F". I am trying to use F to get a variable X for an equation FX=B. However, when I solve for X, ...

9 meses ago | 1 answer | 0

1

answer

Question


How to create a matrix where the value shifts to the write with each row? And how do I create a vector that increases and then decreases?
I need to make a square matrix that is 583x583. With every row, the values shift to the right and the values shift to the right ...

9 meses ago | 1 answer | 0

1

answer

Question


How to find the common dates between two different variables that are not the same size or format?
I have two different datetime arrays: dt which is (14782x1) and dt2 which is (47370x1). The formats between the two variables ar...

10 meses ago | 2 answers | 0

2

answers

Question


How to move decimal to the right?
I have a time variable that is supposed to formatted as yymmdd.xxxx where xxxx is the fraction of the day. However, the variable...

10 meses ago | 0 answers | 0

0

answers

Question


How do I select data based on multiple indexes?
I have a data set called 'total_backscatternight'. I have three flags, 'water_data','Perp_saturationdata','Par_saturationdata', ...

10 meses ago | 1 answer | 0

1

answer

Question


How do I sort data based on another variable?
One variable, b_dp, is dependent on another variable, b_lat which is the latitude the data b_dp was taken at. I know they are no...

11 meses ago | 1 answer | 0

1

answer

Question


How to find rows in table based on multiple criteria?
I have a table called shipdatatable that is 625x7. I want to select data in the table based on multiple criteria, specifically t...

12 meses ago | 1 answer | 0

1

answer

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

12 meses ago | 1 answer | 0

1

answer

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

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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 ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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 ...

más de 1 año ago | 1 answer | 0

1

answer

Load more