Rotating shafts experience a an elliptical motion called whirl. It is important to decompose this motion into a forward and backward whil orbits. The current function makes use of two sensors to generate a bi-directional spectrogram. The method can be extended to any time-frequency distribution
%
% compute the forward/backward Campbell/specgtrogram
%
% INPUT:
% y (n x 2) each column is measured from a different sensor
% ///////
% __
% |s1| y(:,1)
% |__|
% __
% / \ ________|/
% | | | s2 |/ y(:,2)
% \____/ --------|/
%
% Fs Sampling frequnecy
%
% OUTPUT:
% B spectrogram/Campbel diagram
% x x-axis coordinate vector (time or Speed)
% y y-axis coordinate vector (frequency [Hz])
hi everyone, it is other people s program by c++ it is nice (一組開關(guān),希望搞工控界面的xdjm能用的上。
位圖開關(guān),你用你自己的圖替換掉,就可以得到你自己風(fēng)格的開關(guān)了,其他幾個都是用GDI畫的。
), enjoey it~