# Lezione del 16/10/2009, Aula 1
#
# Octave 3.2.2, Fri Oct 16 07:48:43 2009 ora legale Europa occidentale <unknown@unknown>
version
3+8
3+8;
3-8
3*8
3/8
format long
3/8
single(3/8)
pi
single(pi)
format
10^20
pi*1000
pi*1000000
format short e
pi*1000
format short g
pi*1000
format
1:4
1:4.2
1.2:4.2
1:2:4
1:-2:4
4:-2:1
1:0.1:4
a=1:0.1:4;
a
x=-4:4
y=x.^2
plot(x,y)
x=-4:0.1:4;
y=x.^2;
plot(x,y)
plot(x,sin(x))
x=0:0.1:2*pi;
plot(x,sin(x))
plot(x,sin(x),'r')
getenv("HOME")
edit([getenv("HOME"),".octave_hist"])
quit
# Octave 3.2.2, Fri Oct 16 10:32:33 2009 ora legale Europa occidentale <unknown@unknown>
edit([getenv("HOME"),".octave_hist"])
pwd
diary 'la_mia_sessione'
3*8
quit
