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
  1 件のコメント
Marko Boskovic
Marko Boskovic 2018 年 12 月 12 日
I need it in while loop.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by