Let's create a matrix of size N x N containing a Pascal's Triangle in each quadrant that diverges from the centre to form an arial view of a pyramid made of Pascal's Triangles according to the test cases provided.
For example, given an input matrix size 5 x 5 for your starting Pascal's triangle, the output matrix will then be as follows:
Hint: Mind your matrix positions!

Solution Stats

15 Solutions

10 Solvers

Last Solution submitted on Mar 18, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers10

Suggested Problems

More from this Author1

Problem Tags

Community Treasure Hunt

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

Start Hunting!