필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to create a penalty function in two dimensions for a profile curve?

조회 수: 2 (최근 30일)
Craig
Craig 2019년 11월 15일
마감: John D'Errico 2019년 11월 15일
Hello, I have a computer model that models a physical process that is represented by the black line shown in the attached figure. A traditional penalty function would compare the individual Y values at each point in time, with something like error squared. Thus, a modeled point at say 0.92 and 5.25 (the blue diamond) would provide a very large error (5.25^2), when in actuality I would be happy with any result that was within the two dotted red lines.
My question is: Is there a penalty function formulation that would compare the “relative closeness” of the computed function compared to the ideal function, taking into account “how close it is to the black line” (maybe closest distance?), or if it is within the red lines, and closest to the black line. Kind of like a visual measurement of how good the “eye fit” is in both time and amplitude. If the computed function had a sharp vertical rise at say 0.98, that would be very good, but I do not know how to compute a penalty function to account for if the computed function is “close” to the black line in time (left-right) space as well as amplitude (up-down, which I do know how to do).
Any help would be greatly appreciated.

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by