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

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)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 24 Aug 2017

Answered:

on 24 Aug 2017

Community Treasure Hunt

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

Start Hunting!