Normalising and rescaling my ultrasonic signal

4 次查看(过去 30 天)
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 😀

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by