DELL 13-5379-i5-12 vs HP ENVY 15M-BQ021-12 x360 for Matlab

Feb 12, 2018
Hi, I´m buying a new laptop for college. I am studying Math and I need the computer mostly to use Matlab and write code in Java, C and Python. In my country these are my options:

HP ENVY 15M-BQ021-12 x360
AMD™ FX 9800P Quad Core Turbo 3.60Ghz
Ram 12GB DDR4
1TB (1024GB-SATA)
15.6" Táctil LED Full HD (1920x1080)
ATI Radeon R7 3D memoria disponible: 6GB
At $880

DELL 13-5379-i5-12 CONVERTIBLE
Intel® Core i5 8250U 1.60Ghz + Turbo 3.40Ghz
1TB (1024GB-SATA)
13.3" Touch LED Full HD (1920x1080)
Intel® Graphics HD 620 memoria disponible de 4GB
At $980

*Both can turn 360º, and this is a feature that I want because i am intending to read notes and books in the laptop.

Which is better price/performance for my requirements?

Thank you for your help.