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!