is there a function similiar to "replicate" from idl?

4 次查看(过去 30 天)
the idl syntax is described as "The REPLICATE function returns an array with the given dimensions, filled with the scalar value specified as the first parameter"
is there a syntax in matlab that does something similar?

回答(1 个)

Steven Lord
Steven Lord 2017-8-24
That sounds like the repmat function.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by