MATLAB Answers

Grid search for two data files and average of amplitude

조회 수: 14(최근 30일)
ravindra gupta
ravindra gupta 20 Jan 2020 10:58
댓글: KALYAN ACHARJYA 23 Jan 2020 12:30
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

  댓글 수: 0

로그인 to comment.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 20 Jan 2020 11:10
v=200:02:1000;
h=4:0.02:12;
f=v./(4*h);
writetable(table(f'),'f_matlab.txt');
Check the data

  댓글 수: 2

ravindra gupta
ravindra gupta 23 Jan 2020 12:02
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
KALYAN ACHARJYA
KALYAN ACHARJYA 23 Jan 2020 12:30
Try with isequal with individual data

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by