Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sierpinski triangle - changed
n=3^5;n A=matrix(0,n,n) for (i in 1:n){ A[i,1]=1; A[1,i]=-1; } for (i in 2:n){ for (j in 2:n){ A[i,j]=(A[i-1,j-1]+A[i-1,j])%%3 } } require(grDevices) # for colours image(A, col = gray(1:0),axes = FALSE, main = "Math can be beautiful ...")
run
|
edit
|
history
|
help
0
19-08-2020-JacobiSistema
Exp 2
09-09-2020GramSchmdit
Arithmetic operations in vector
Example: From 'The R Book' 2nd ed. ~ 2.3.2 Generating Factor Levels...
Análise de variância ANOVA para experimento em DIC - Exemplo 01
jcruet_bi variate r regression
Ex11-03-21EdsonAmanda
31-08-2020-Exemplo AjusteNaoL
28-09-2020Int-poli-inter