Matlab Database > GUIs, Graphics & Visualization > Fractals > Pascal's Triangle

Matlab File(s)

Title: Pascal's Triangle
Primary Author: M2-TUM
Other Authors:Sylvia Frey
E-Mail: matlabdb-AT-ma.tum.de
Institution: TU Munich
Description: Pascal(n,s) draws Pascal's triangle with coloured hexagons.
n is the number of rows of the triangle, and s is a natural number.
The colour of each hexagon is determined by the parameter s;
If s divides the number of the current hexagon,
then the hexagon is red, otherwise green.

Pascal uses n = 10, s = 4.

Usage: type unzip pascal.zip
Contents: Pascal.m Sechseck.m

This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
Winter term 2004/2005, Stuttgart University.

Keywords: Pascal, triangle, Dreieck, Fraktale, fractal, divisor, Teiler
File Name: pascal.zip
File Size: 2 KB
File Version: 1.0
Matlab Version: 7.0
Date: 2004-11-26
Downloads: 3634
Download File

Upload your own files today! Click here for more information.