What is the difference between matrix and array?

后端 未结 3 624
感情败类
感情败类 2021-01-13 09:45

What is the more generalized term? Why is MATLAB named matrix laboratory, then?

3条回答
  •  暖寄归人
    2021-01-13 10:00

    If you're asking about MATLAB, the word "matrix" typically refers to a 2d array, whereas an "array" can be n-dimensional.

    Early versions of MATLAB supported only 2d matrices, not n-dimensional arrays. I believe support for n-dimensional arrays was introduced in version 5 of MATLAB.

提交回复
热议问题