Clear Filters
Clear Filters


2 views (last 30 days)
jie dong
jie dong on 31 Aug 2022
Edited: Anjaneyulu Bairi on 12 Feb 2024
[fn,dr,ms] = modalfit(sys2,f,length(Freq),'PhysFreq',Freq);
G{k} = etfe(Data_k, [], N);
bodeplot(Gs([Imin, Imax],:), sys1([Imin, Imax],:), opt);

Answers (1)

Anjaneyulu Bairi
Anjaneyulu Bairi on 12 Feb 2024
Edited: Anjaneyulu Bairi on 12 Feb 2024
The "modalfit" function from the documentation example uses the below syntax.
[fn,dr,ms] = modalfit(___)
Where fn are the natural frequencies (in Hz), dr are the corresponding damping coefficients, and ms are the normalized residuals as column vectors (one column for each natural frequency. The "modalfit" function can work with different types of system outputs, not just displacement. It is capable of handling systems where the output is acceleration, velocity, or displacement.
You can visit the below documentation for more information on the "modalfit" function.
I hope this helps to resolve your query and proceed further.


Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!