linspace

1 回表示 (過去 30 日間)
Beth
Beth 2011 年 10 月 27 日
I need to create a 4x5 matrix by using linspace. The matrix needs iteger values from 101-120 filling rows first. How do I do that in just one line of code?

回答 (1 件)

Wayne King
Wayne King 2011 年 10 月 27 日
Hint:
see the help for reshape() and then think about what the transpose operator,', does

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by