MATLAB QUESTIONS & EXPERT ANSWERS

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

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

how does Wenergy for 1-D wavelet decomposition works?
Francisco - 2021-01-04

Hi , i read the matlab documentation about the energy for 1-D wavelet decomposition and i want to know how the calculation works exactly??? because th...

How to plot Date time series in MATLAB?
isabellewilliams - 2021-01-04

I am facing difficulties in  plotting my time series data. I write code like this but doesnt work.   data3=readtable ('PRICE_AND_DEMAND_Jan.csv') Da...

Why do I obtain edge effects or oscillations when using the...?
willison_ad - 2021-01-04

Why do I obtain edge effects or oscillations when using the RESAMPLE function to perform non-integer resampling on my signal in the Signal Processing ...

Get a Free Consultation or a Sample Assignment Review!