Interception points (two) for complicate function

1 visualización (últimos 30 días)
Marko Boskovic
Marko Boskovic el 12 de Dic. de 2018
Comentada: Marko Boskovic el 12 de Dic. de 2018
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).

Respuestas (1)

madhan ravi
madhan ravi el 12 de Dic. de 2018
Just preallocate(search documentation) before loop

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by