Community Profile

photo

Shayma Al Ali


Last seen: 4 jours il y a Actif depuis 2019

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

Question


How to change the dimensions of a matrix?
I have a list of matrices with dimensions of time x latitude x longitude (733x311x720). I'd prefer the matrices to have dimensio...

environ 2 mois il y a | 1 réponse | 0

1

réponse

Question


How to get the indices based on month and year?
I have an array of data, "B", with a corresponding datetime array. The data spans between 2018-2022 but its not uniformly distan...

2 mois il y a | 1 réponse | 0

1

réponse

Question


Invalid Host Name using wget?
Hi all! I'm trying to write a script where I loop through a text file containing urls, download the file, run a list of commands...

2 mois il y a | 1 réponse | 0

1

réponse

Question


Error: /bin/bash: wget: command not found
Hello everyone, I need to run a script that involves downloading a file one at a time from a list of urls, running the script,...

2 mois il y a | 1 réponse | 0

1

réponse

Question


How to iterate through the rows of array and grab data?
I have a structure of data that contains photon heights, 'track1.ph', in the ocean as well as the lat, lon, time, etc. I also ha...

4 mois il y a | 1 réponse | 0

1

réponse

Question


How to customize Colorbar on map?
Hi everyone! I'm trying to recreate the Colorbar below. As you can see, the colorbar goes by increments of 0.01 until it gets to...

5 mois il y a | 2 réponses | 0

2

réponses

Question


How to flip the top x-axis so it matches the bottom plot?
Hello, I'm trying to plot a power spectra map with two x-axes. The bottom x-axis should be frequency and the top x-axis should ...

8 mois il y a | 2 réponses | 0

2

réponses

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

10 mois il y a | 1 réponse | 0

0

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

0

réponse

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

plus d'un an il y a | 3 réponses | 0

3

réponses

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

plus d'un an il y a | 1 réponse | 0

0

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

0

réponse

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

0

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

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

1

réponse

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

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

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

plus de 2 ans il y a | 1 réponse | 0

0

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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Charger plus