- Scalar — a constant time interval over which rotations occur.
- Vector — nonnegative, strictly increasing instants that define constant rotational phase.
URGENT help on TSA with tach signal
조회 수: 3 (최근 30일)
이전 댓글 표시
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/655070/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/655070/image.jpeg)
Please can someone help me out with this as I am new to MATLAB?
댓글 수: 0
채택된 답변
dpb
2021년 6월 16일
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.
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
aparna subramaniam ashwin
2024년 4월 3일
편집: aparna subramaniam ashwin
2024년 4월 3일
Pulse time vector, is strictly increasing. Hence use this line to extract TP vector.
TP1=find(TP);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!