3rav Posted April 12, 2018 Report Share Posted April 12, 2018 Witam, Mam daną funkcję f(x) - na wykresie krzywa niebieska oraz dane punkty x,y - krzywa czerwona. Jak mogę znaleźć ich punkt przecięcia (oraz określenie, która jest to pozycja w "zbiorze" punktów x,y; ostatnia para wartości x,y która jeszcze leży pod krzywą f(x))? Pozdrawiam Quote Link to comment Share on other sites More sharing options...
dmatusz3 Posted April 12, 2018 Report Share Posted April 12, 2018 Myślę, że trzeba czerwoną krzywą zamienić w funkcje za pomocą linterp, a następnie wykorzystać funkcje do rozwiązywania układów równań do wykrycia przecięcia roots Quote Link to comment Share on other sites More sharing options...
dmatusz3 Posted April 12, 2018 Report Share Posted April 12, 2018 Jeśli chodzi o punkty przecięcia to mając 2 funkcje można to zrobić tak (nieco inaczej niż pisałem wyżej). punkt_przeciecia.sm Quote Link to comment Share on other sites More sharing options...
3rav Posted April 13, 2018 Author Report Share Posted April 13, 2018 Witam, Dziękuję za pomoc, działa. Quote Link to comment Share on other sites More sharing options...
dmatusz3 Posted April 13, 2018 Report Share Posted April 13, 2018 Dzięki za info. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.