how to create an array of pedestrians using backsactterpedestrian?

3 次查看(过去 30 天)
Hi,
the function 'backscatterpedestrian' creates a pedestrian object, if I want to create N pedestrians, how should I create an pedestrian array? Many thanks!

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-19
编辑:Ameer Hamza 2020-4-19
Use repmat() to create an array
N = 10;
A = repmat(backscatterpedestrian, 1, N);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by