How do i add tolerance to the code. PLS HELP.
이전 댓글 표시
MIE is has 3501 values inside it and MIE_2 is a single value. I am trying to find the index of MIE_2 value inside the MIE with next closest possible value so as to plot it using indexing. since MIE_2 us calculated using expression, upto 4 decimals it does not match with values in MIE.
tol = 0.0001;
MIEIdx = find(MIE == (MIE_2),1,'first');
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Full-Wave Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!