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

22 views (last 30 days)
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 Comments
Mohamed Mohamed Ahmed
Mohamed Mohamed Ahmed on 2 Nov 2021
Edited: Mohamed Mohamed Ahmed on 2 Nov 2021
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 on 2 Nov 2021
Edited: dpb on 2 Nov 2021
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.

Sign in to comment.

Accepted Answer

Mathieu NOE
Mathieu NOE on 2 Nov 2021
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 Comments
Kayhan
Kayhan on 22 May 2023
@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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!