Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kia Teymourian committed Oct 23, 2019
1 parent 0b208e3 commit b7f3821
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Module-4-Example-13.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
# Create a Materix in R
a <- matrix(c(2, -2, 1, 4), nrow = 2, ncol = 2)

c <- matrix(c(2, 3, 1, 1, 6, 5), nrow = 2, ncol = 3)

print(a)
print(c)

f <- a %*% c

# Print transpose
print(t(a))
Expand Down

0 comments on commit b7f3821

Please sign in to comment.