Finding the Maximum Value
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello, I currently have a set of data that I use f = fit(x,y,'gauss2') to find the best gaussian curve fit. Next, I want to find the full width half maximum value, however I am having trouble doing this. Currently, my data is loaded as an array with x values in the first column and y values in the second. Is there any way to load the array and then find the full width half max value?
Second, I am also simply trying to find the max value of the curve that is the best fit. Therefore, after I find f (the best fit), I am trying to find max(f). However, since the value is not an integer, matlab is returning an error message: Subscript indices must either be real positive integers or logicals. Is there any way around this so that I can find the value of the max peak of the curve of best fit. Any help would be greatly appreciated, thank you!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!