concatenate signals at specific index

3 ビュー (過去 30 日間)
kmbxrf
kmbxrf 2016 年 12 月 29 日
回答済み: kmbxrf 2017 年 1 月 3 日
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.

採用された回答

KSSV
KSSV 2016 年 12 月 30 日
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 .
  2 件のコメント
kmbxrf
kmbxrf 2016 年 12 月 30 日
thank you! I suspected it was something simple. Too close to the problem and all that.
kmbxrf
kmbxrf 2017 年 1 月 3 日
Ok, I spoke too soon. what I need to do is something similar to: sig3(t1:t2)=sigfull2(1:512,1)

サインインしてコメントする。

その他の回答 (1 件)

kmbxrf
kmbxrf 2017 年 1 月 3 日
to clarify - what I need to do is something similar to: sig3(t1:t2)=sigfull2(1:512,1)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by