Community Profile

photo

Shayma Al Ali


Last seen: 1 month ago Active since 2019

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Replace values in matrix with NaNs?
I have two matrices with sizes 720x361. There are NaN values in matrix A that are not present in Matrix B. I'd like to insert Na...

7 months ago | 1 answer | 0

1

answer

Question


How to resort every column of a 3d matrix?
I have a 3d matrix "A" with a size of 1440x720x12, which corresponds to Longitude x Latitude x Time. The longitude for this matr...

7 months ago | 1 answer | 0

1

answer

Question


Pcolor Map showing up blank?
Hi everyone! I'm trying to plot a map using pcolor, however the map ends up being blank. I'm not really sure what I'm doing wr...

7 months ago | 1 answer | 0

1

answer

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

12 months ago | 1 answer | 0

1

answer

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

12 months ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 2 answers | 0

2

answers

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

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

2 years ago | 1 answer | 0

1

answer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 years ago | 1 answer | 0

1

answer

Load more