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

1 次查看(过去 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 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by