フィルターのクリア

Frequency domain and time-frequency domain for sae data

1 回表示 (過去 30 日間)
Sameer Sayyad
Sameer Sayyad 2021 年 5 月 13 日
コメント済み: Star Strider 2021 年 5 月 20 日
% clear window
clc;
clear all;
% import xls or csv file
axial_Depth_1 = readtable('E:Variable axial cutting depth\1');
% fz: feed per tooth= 0.03 ; n: spindle speed= 1200; ap: axial cutting depth=1; ae: radial cutting depth=3.0
% extract data in respective sensors sensors
Cutting_force1= axial_Depth_1 (:,1:4);
% set sampling frequency for each sensor data
fz_force= 600;
L= 27900; % Total sample data points
%Timestamp for each sensor data signal based on sampling rate
%Ts_force= (0:L-1)*1/fz % To create time span data based on frequency
Ts_force= (0:L-1)*1/fz_force;
Ts_force= Ts_force'; % To transform rows into colomn
% Add Ts_force to Cutting force table
Cutting_force1 = addvars(Cutting_force1,Ts_force,'After','Torsion_Z');
Cutting_force1= head(Cutting_force1,27900);
%Plot cutting force data with respect to time (time-series data)
%Plot 1 Axial cutting force Vs. Time
figure(5);
%subplot (1,2,1)
plot(Cutting_force1.Ts_force,Cutting_force1.Axial_force, 'b');
title('Cutting forces for Variable Depath of cut (ap=1)'); grid on
xlabel('Time (Ts force)')
ylabel('Axial force in N')
I have done this much part till time domain graph. Please help me out to plot frequency domain graph and time- frequency domain graph.
Thanks in advance.
  2 件のコメント
Sameer Sayyad
Sameer Sayyad 2021 年 5 月 20 日
Thanks Sir @Star Strider
Star Strider
Star Strider 2021 年 5 月 20 日
As always, my pleasdure!

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2021 年 5 月 13 日
The pspectrum function can likely help with this, specifically with respect to the time-frequency plot.
  4 件のコメント
Sameer Sayyad
Sameer Sayyad 2021 年 5 月 13 日
ok thanks
Star Strider
Star Strider 2021 年 5 月 13 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by