Binning on my data

Hi everyone,
I have a problem with my script:
bin_data1 = 1:(bin*new_fs):size(data_1);
time_1 = (1:bin:(size(data_1)/new_fs))-1;
I need to do a binning of my data, but when I run this part of script I obtain the bin but not the binned value of my data_1.
How can I resolve this problem?
Thank you so much!

2 Comments

You mean to say you want?
data_1(bin_data1)
yes, thank you so much!!!!!!!!!!!! thank again

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 4 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!