Question

Create new .wav files around findpeak outputs

Hi everyone, I would like to create short .wav files containing the audio data of each detected peak (see plot below as exampl...

1 year ago | 1 answer | 1

Question

How to sum matrices together when within a structure

I have 118 matrices (picture is an example of just four) held in a column called 'linear_RL_sum' within a structure called 'line...

1 year ago | 1 answer | 0

Question

Batch processing a function

I want to batch process the following for loop in my script (which contains a call to a function I wrote called 'interp'). I nee...

1 year ago | 2 answers | 0

Question

Assigning values from small grid into larger grid using nearest coordinates

I am trying to assign new values of depth from a smaller cropped grid (480 x 480 - lon, lat, depth) into a larger grid (4800 x 5...

2 years ago | 1 answer | 0

Question

Calculating the greater circle distance from source point to centre of all grid cells in a domain/reference grid

I am trying to calculate the greater circle distance in metres from a source point (specified as a latitude/longitude) to the ce...

2 years ago | 0 answers | 0

Question

How to sum the values from multiple arrays with the same dimensions?

I have four arrays (2400 x 2800) - I need to sum the values of each cell in the first array with the same cell from the other th...

2 years ago | 1 answer | 0

Question

How do I apply a function 360 times to a number of rows of data using a loop (or other method)?

I have an excel sheet with columns of (1) latitude, (2) longitude, (3) range (m), (4) depth (m) and (5) transect number (1:360)....

2 years ago | 0 answers | 0

Question

Find the Nearest Neighbor value in a Reference Grid

I am trying to find a way to edit a loop which will allow me to assign any potential NaN values to their Nearest Neighbor within...

2 years ago | 1 answer | 0

Question

Combine columns of multiple arrays using for loop

I am trying to use a for loop to combine columns of multiple arrays in MATLAB. I want to take column 1 (or i) of the first v...

3 years ago | 2 answers | 0

Question

Cropping xyz data in MATLAB

I am trying to crop an xyz data set (see figure attached) in MATLAB. The file is too large to convert into a .txt file first...

3 years ago | 1 answer | 0

Question

Problem with z value output when computing elevation along a straight line transect

I'm trying to use the compute elevation profile along a straight line code available at: https://uk.mathworks.com/help/map/data-...

3 years ago | 1 answer | 0