Interception points (two) for complicate function

조회 수: 1 (최근 30일)
Marko Boskovic
Marko Boskovic 2018년 12월 12일
댓글: Marko Boskovic 2018년 12월 12일
How can I find interception points (two) for two functions, ex: y1=(30).*(((t./7).^(3))./(1+((t./7).^(3)))).*exp(-t./400); , y2 = 20.*t.^10;
I tryed :
Interception=find(abs(y1-y2)<=(eps), but sometimes it taking too much time , because I using this functions in ,,while'' (repeating hundred times).

답변 (1개)

madhan ravi
madhan ravi 2018년 12월 12일
Just preallocate(search documentation) before loop

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by