I want to generate a pascal matrix of size m

15 views (last 30 days)
I know that the command is pascal(A) but I dont know how to create a matrix of size m

Answers (1)

Andrei Bobrov
Andrei Bobrov on 7 Feb 2012
please read about function pascal
doc pascal
eg:
m = 4
out = pascal(m)

Categories

Find more on Get Started with MATLAB 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!