"Roy Schestowitz" <email@example.com> wrote in message
> Yes, it is much slower, but that's the inevitable disadvantage of using
> high-level programming languages. It's a trade-off between abstraction,
> i.e. ease of development and the resulting speed.
In the case of Matlab, I'd say it's slow mainly because of the way it's
interpreted. C++ is arguably as 'high level' or even higher than Matlab
(C++ having far more powerful object-oriented features, but Matlab having
better handling of multiple arguments and return values, for instance...),
yet it's much faster than equivalent Matlab code.