Info
此问题已关闭。 请重新打开它进行编辑或回答。
PSD for beairng faults
1 次查看(过去 30 天)
显示 更早的评论
Hi guys, Below is a code for PSD for a good bearing and faulty bearing plotted ( showing the change ). I want to plot on the same a graph the difference between them wondering if anyone can help with it. Thanks in advances
vert_data_avg_good = (goodbear(:,1)-mean(goodbear(:,1))); [Pyy,l]=pwelch(vert_data_avg_good,hanning(512),[],[],fs); semilogy(l,Pyy,'r'); hold on; [Pxx,f]=pwelch(vert_data_avg,hanning(512),[],[],fs); semilogy(f,Pxx,'b'); legend('Good bearing', 'Faulty Inner'); title('PSD on semilog scale');
Jayson Abraham
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!