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

조회 수: 21 (최근 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
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개)

카테고리

Help CenterFile Exchange에서 Signal Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by