フィルターのクリア

How to bring signals of uneven sizes to the same size?

1 回表示 (過去 30 日間)
JAI
JAI 2013 年 4 月 21 日
I have 3 signals, size(x)=15001 size(y)=7500 size(z)=3751
and how to bring the sizes of all these three signals to 15000?
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 4 月 21 日
編集済み: Azzi Abdelmalek 2013 年 4 月 21 日
By adding or removing what?

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 4 月 21 日
x(end)=[];
y(end+1:15000)=0;
z(end+1:15000)=0;
  1 件のコメント
JAI
JAI 2013 年 4 月 22 日
Thank you so much sir,It worked!!!!

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 4 月 21 日
newx = interp1(linspace(0,1,length(x)), x, linspace(0,1,15000));
newy = interp1(linspace(0,1,length(y)), y, linspace(0,1,15000));
newz = interp1(linspace(0,1,length(z)), z, linspace(0,1,15000));
  1 件のコメント
JAI
JAI 2013 年 4 月 22 日
Thank you so much sir.It worked!!

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by