MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Filtering of 60 Hz signal - not working
Mackenzie - 2021-01-08

Following the example "Remove the 60 Hz hum from a signal", I tried to run a butterworth filter in order to filter out multiples of 60 Hz (60, 120, 18...

Product of Two matrix
Oliviawilliams02 - 2021-01-06

Let W1 and W2 are complex  matrix of diamension N1 x Ns and Nr x N1 respectively. P = transpose(W1*W2), where N1 = N2 and N2 varies from 1 -18 via x ...

How do I find the (x,y) coordinates of the peaks and valleys of a graph?
Paxton - 2021-01-06

I am new to Matlab and I am not sure how to find the coordinates of the peaks or valleys of my graph. After looking online, I tried using findpeaks() ...

How does
Sebastian - 2021-01-06

I’m giving a timeseries vector with 14600 data points as an input to the “pwelch” function and getting 2049 data points as an output. I’m not ...

Index out of bounds error even when there ARE enough elements in array
Gabriela - 2021-01-06

I get the error '??? Attempted to access corr_up(2e+006); index out of bounds because numel(corr_up)=2000001.'   I am looping over a correlated signa...

CUSUM and CUMSUM, cusum not found
Alexander - 2021-01-05

I am using Matlab version 2015b. I can use "cumsum", but not "cusum". Is it because of different version?   >> help cusum cusum not found. Use the He...

analyse accelerometer and gyroscope data
Teagan - 2021-01-05

Hi, I am using an IMU device to monitor animal behaviour. I am trying to use Matlab to analyse the data, however, I am unsure how to upload the data t...

Counting objects in an binary image of olympic logo
camillajoy - 2021-01-05

I try lot of algo and matlab code to count the object in olympic logo i should get 5 object but my count only one how i should count an binary image o...

grouping first (left column) and last (right column) of consecutive sequence of a Nx2 matrix
Raelynn - 2021-01-05

We have a Nx2  matrix with pieces of consecutive values that we want to obtain the extreme left and right limits: A=[100 200; 101 201; 102 202; 300 4...

Efficient method to detect nonzero value trains up to a certain lenght?
Benjamin - 2021-01-05

I have data as follows (either numerical or logical, it doesn't matter in this case):     [0 1 0 1 1 0 1 1 1 0 1 1 1 1 0] Every 0 represents one or ...

Get a Free Consultation or a Sample Assignment Review!