What is the difference between amibroker and matlab?

Amibroker is Charting Plotform which you can write and plot your logic with AFL

MATLAB is used to create and apply math functions