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

2 views (last 30 days)
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?

Answers (1)

Steven Lord
Steven Lord on 24 Aug 2017
That sounds like the repmat function.

Community Treasure Hunt

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

Start Hunting!

Translated by