Grid search for two data files and average of amplitude

조회 수: 1 (최근 30일)
ravindra gupta
ravindra gupta 2020년 1월 20일
댓글: KALYAN ACHARJYA 2020년 1월 23일
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

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 1월 20일
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 2020년 1월 23일
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 2020년 1월 23일
Try with isequal with individual data

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by