Normalising and rescaling my ultrasonic signal

5 ビュー (過去 30 日間)
David Harra
David Harra 2022 年 3 月 11 日
コメント済み: Star Strider 2022 年 3 月 13 日
I am exciting ultrasound in wateter which then gooes through the material. I want to notrmalise my signal in such a way that it is scaled by having my input signal and the front wall of my material the same amplitude say, an amplitude of 1. Below is an image of what I have just now. I am not what steps I would need to take to scale this signal. I have been told it is a standard thing that can be achieved in Matlab
.
I will post extra information and what I have. Both my Time and Data are of the size (8600 x 1 ). Any ideas how I can go abot normalising/scaling this would be greatly appreciated. Dave :)
%Load in files
FName = 'Tit_10MHz_110F.flxhst';
MyData = read_history(FName);
% Load in Data and Time signals from each file
Time = MyData.TimeRecB.Time;
Data= MyData.DataRecB(1).Data;
figure(01)
plot(Time,Data)
xlabel('Time(s)')
xlim([0 7e-6])
ylabel('Amplitude')
title('10 MHz 110 Features')

採用された回答

Star Strider
Star Strider 2022 年 3 月 11 日
There are (at least) two functions that can do what you want, one being rescale and the other being normalize.
Experiment to see which of them works best in your code.
  6 件のコメント
David Harra
David Harra 2022 年 3 月 12 日
This could well be me interpretating this incorrectly. If not, I thought it would be possible to select specific peaks and assign them an amplitude. Or if I removed all the data before the first wall and rescaled it so the first wall signal is 1 and the rest of the data is rescaled accordingly.
Thanks though for your input it has gave me more to think about and learn. It's appreciated 😀
Star Strider
Star Strider 2022 年 3 月 13 日
As always, my pleasure!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePulse and Transition Metrics についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by