Interception points (two) for complicate function
Ältere Kommentare anzeigen
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).
Antworten (1)
madhan ravi
am 12 Dez. 2018
0 Stimmen
Just preallocate(search documentation) before loop
1 Kommentar
Marko Boskovic
am 12 Dez. 2018
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!