linspace

11 次查看(过去 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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by