Normalising and rescaling my ultrasonic signal

5 visualizaciones (últimos 30 días)
David Harra
David Harra el 11 de Mzo. de 2022
Comentada: Star Strider el 13 de Mzo. de 2022
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')

Respuesta aceptada

Star Strider
Star Strider el 11 de Mzo. de 2022
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 comentarios
David Harra
David Harra el 12 de Mzo. de 2022
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 el 13 de Mzo. de 2022
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by