URGENT help on TSA with tach signal

9 visualizaciones (últimos 30 días)
Ola Ola
Ola Ola el 16 de Jun. de 2021
Editada: aparna subramaniam ashwin el 3 de Abr. de 2024 a las 5:16
I have a dataset that has the tach signal in colum 3 and the vib signal in colum 1.
I am trying to perform time synchronous averaging of this signal using the matlab inbuilt function (tsa(data(:,1), fs, tach,'PulsesPerRotation', 10);)
but I keep getting the follwoing error
Please can someone help me out with this as I am new to MATLAB?

Respuesta aceptada

dpb
dpb el 16 de Jun. de 2021
I've not used it, but doc (and error message) indicate that the time pulse input is either a fixed scalar or increasing time for the pulses--
tp Pulse times
scalar | vector
Pulse times, specified as a scalar or a vector.
  • Scalar — a constant time interval over which rotations occur.
  • Vector — nonnegative, strictly increasing instants that define constant rotational phase.
Use tachorpm to extract tachometer pulse times from a tachometer signal.
It appears maybe from your description and the error you have an actual tachometer input signal, not the pulse times; for starters try the hint above with
tsa(data(:,1), fs, tachorpm(tach));
as a guess without seeinng the data or knowing for sure what your variable tach is -- I'm presuming it is data(:,3) from the description.
  2 comentarios
Ola Ola
Ola Ola el 17 de Jun. de 2021
Thank you for the explanation@dpb
aparna subramaniam ashwin
aparna subramaniam ashwin el 3 de Abr. de 2024 a las 5:15
Editada: aparna subramaniam ashwin el 3 de Abr. de 2024 a las 5:16
Pulse time vector, is strictly increasing. Hence use this line to extract TP vector.
TP1=find(TP);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by