how to create an array of pedestrians using backsactterpedestrian?

1 view (last 30 days)
the function 'backscatterpedestrian' creates a pedestrian object, if I want to create N pedestrians, how should I create an pedestrian array? Many thanks!

Accepted Answer

Ameer Hamza
Ameer Hamza on 19 Apr 2020
Edited: Ameer Hamza on 19 Apr 2020
Use repmat() to create an array
N = 10;
A = repmat(backscatterpedestrian, 1, N);

More Answers (0)


Find more on Waveform Design and Signal Synthesis 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!