How to convert frequency response data from .unv file into time domain and save into another data file?

20 ビュー (過去 30 日間)
I am trying to look into several data files I collected online about strucutral vibration of 8-DOF System. The files are saved as .unv and I found code online that is able to read the files ( from Read Uff ). However, when I tried to convert the frequency response data into time domain I get a complex double back. Is there a way I can get the response data as time domain becuase I think the response should be an impulse response and save the time response as, for example, .txt file?
Here is my code
%% Test File
% Test for reading and writing of UFF files.
close all; clear; clc
% First, let's read all the data-sets from the dam0.unv file
[DS, Info, errmsg] = readuff('----\jan298m1\jan298m1.unv');
% Let's check what is the first data-set like
DS{1}
y_f = DS{1}.measData
y_t = ifft(y_f)
  3 件のコメント
Mohamed Mohamed Ahmed
Mohamed Mohamed Ahmed 2021 年 11 月 2 日
編集済み: Mohamed Mohamed Ahmed 2021 年 11 月 2 日
Well, I found the report for the test and authors mentioned that each file contains the following: "Each file is a universal data file (type 58) containing the frequency response functions, input power spectral density, response power spectral densities, cross-power spectra and coherence functions. If multiple measurements were averaged, all spectral functions are the averaged quantities"
dpb
dpb 2021 年 11 月 2 日
編集済み: dpb 2021 年 11 月 2 日
If they didn't save the time histories as well, nor the actual FFTs but only the above results, then the phase data have been thrown away and can't be retrieved.
I didn't try to examine the actual file content...the description implies they COULD be saved under the file format used, but none of the above is conclusive that they were--and, taken literally at face value that nothing else was saved, says they weren't.

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

採用された回答

Mathieu NOE
Mathieu NOE 2021 年 11 月 2 日
hello
the time data are here :
% Test for reading and writing of UFF files.
close all; clear; clc
% First, let's read all the data-sets from the dam0.unv file
[DS, Info, errmsg] = readuff('jan298m1.unv');
% % Let's check what is the first data-set like
% DS{1}
% y_f = DS{1}.measData
% y_t = ifft(y_f)
% time data extraction (impulse response)
for ci = 1:9
figure(ci),
plot(DS{33+ci}.x,DS{33+ci}.measData)
end
  25 件のコメント
Mathieu NOE
Mathieu NOE 2023 年 5 月 22 日
no sorry , I haven't done that in the past
Kayhan
Kayhan 2023 年 5 月 22 日
@Mathieu NOEt thank you for response. I am working on to plot mode shapes by extracted results in 3d due to geometry is circular plate.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by