%Denis Schluppeck's catch-up session
%session log from 
%-- 21/11/2022, 12:08 --%
clear all
home
clc
3./2
π
pi
pi()
home
2.^8
64.^1/3
64.^(1/2)
64.^(1/3)
a = 64.^(1/3)
clear a
home
5
'bla'
home
a = [ ]
a = [ 1, 2, 3 ]
a = [ 3; 4; 5]
home
a = [1, 2, 3; 4, 5, 6]
a = [1, 2, 3; 4, 5, 6, 8]
a = [1, 2, 3; 4, 5, 6]
home
a(1,:)
a(:, 2)
home
a(2,3)
a(2,4)
a(2,4) = pi
home
a(10,4) = pi
a
homne
home
[a; 0, 0, 0, 10000]
a = [a; 0, 0, 0, 10000]
edit
M = magic(5)
sum(M)
help sum
home
M
sum(M, 1)
sum(M, 2)
size(M)
size(M,1)
size(M,2)
help rand
r
R
edit
cd Desktop
cd ~/Desktop
ls
myStats([ 1,2,3 ])
myStats([ 1,2,3, 4])
c = myStats([ 1,2,3, 4])
c = myStats(rand(100,1))
home
M
max(M)
myStats(M)
[a, b, c, d ] = myStats(M)
help max
[a, b, c, d ] = myStats(M)