Grid search for two data files and average of amplitude

1 view (last 30 days)
Hi !
I have one formula, f=v/4h in which v varies in the range of
v=200:02:1000;
h=4:0.2:12;
find f for all iterations. Now I have two file which contains f and amplitude in x and y coloumn respectively.
I want to find amplitude of almost exact f caluculated from formula and listed in the file (f calculated and listed should be same).
thanks

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 20 Jan 2020
v=200:02:1000;
h=4:0.02:12;
f=v./(4*h);
writetable(table(f'),'f_matlab.txt');
Check the data
  2 Comments
ravindra gupta
ravindra gupta on 23 Jan 2020
Dear Kalyan,
Thank you very much for finding some time to my problem.
we have calculated the f value from the above but we want to compare the calulated f with observed f, which is in the first column of attached file. If calculated f and observed f are same than we have to find the amplitude value which is tabulated in the second column in attached file.
please reply

Sign in to comment.

More Answers (0)

Categories

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

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!