concatenate signals at specific index
3 views (last 30 days)
Show older comments
I am wondering if there is a way to concatenate signals at specific indices. I have separate, distinct signals that I want to concatenate at specific times, which correlate to a specific index. Ultimately I want to "rebuild" a signal.
0 Comments
Accepted Answer
KSSV
on 30 Dec 2016
clc; clear all ;
sig1 = rand(1,100) ;
sig2 = rand(1,1000) ;
% join two singals sig1 from 7 to 99 and sig2 from 100 to 700
sig12 = [sig1(7:99) sig2(100:700)] ;
We can merge/ join signals with ease if indices are known .
More Answers (1)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!