Amplitude spectrum from Excel

2 Ansichten (letzte 30 Tage)
Anton Ramarchuk
Anton Ramarchuk am 29 Mai 2020
Beantwortet: Dinesh Yadav am 2 Jun. 2020
Good day
I have an excel file with the acceleration of x y z axis of a runing shaft and i want to do the amplitude spectrum of these acceleration so how can i do it?
Here is the link to excel file
https://wutwaw-my.sharepoint.com/:x:/g/personal/01136536_pw_edu_pl/EQ4fGklBm-RIkMxWzZ_eG_ABBF4gi7uPVxFzH33Tr91tug?e=GmSUUI

Antworten (1)

Dinesh Yadav
Dinesh Yadav am 2 Jun. 2020
Hi Anton
Kindly refer to the following link on how to read data from excel file into MATLAB.
Below is the code to replicate the amplitude spectrum as shown in excel file.
T = readtable('file.xlsx','Sheet',2);
t = T.AccelerationX_Time_;
x = T.AccelerationX;
y = T.AccelerationY;
z = T.AccelerationZ;
plot(t,x,t,y,t,z);
Hope it Helps.

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by