Problem 61152. Pascal's Pyramid - A Variation with an Arial View

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

66.67% Correct | 33.33% Incorrect
Last Solution submitted on Jan 10, 2026

Solution Comments

Show comments

Problem Recent Solvers6

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!