필터 지우기
필터 지우기

Normalising and rescaling my ultrasonic signal

조회 수: 4 (최근 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 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