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

1 view (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.

Categories

Find more on Get Started with Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!