Subtract data vectors with different frequencies
古いコメントを表示
Hey!
I have the following problem: I have two vectors of pressure data, vector A taken at frequency 20000 Hz, vector B taken at frequency 1000 Hz.
Now I would like to get the difference in pressure B-A, but obviously I can't just subtract the two vectors given their different length.
Is there an elegant way to do this? Clearly it will involve averaging sections of vector A in order to bring down its size to that of vector B. I couldn't figure out a nice general way to do this, however.
Would be glad if someone could help! :)
-Alex
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!