SLM

バージョン 2.0 (1.62 KB) 作成者: Jos (10584)
special linear matrix

ダウンロード 2.5K 件

更新 2019/2/18

ライセンスの表示

SLM creates a special matrix in which each element is the same as its linear index.
I know, it's quite simple, but I find such a matrix is often useful during algorithm development. It has exactly the same calling index as <ones>, <rand> etc.

SLM(2,3) => [1 3 5 ; 2 4 6]

引用

Jos (10584) (2022). SLM (https://www.mathworks.com/matlabcentral/fileexchange/10031-slm), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2018b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!