summaryrefslogtreecommitdiff
path: root/1322/CH18/EX18.1/153ex1.sce
blob: 083183eb824bb77e4ba674136b964813119d7a05 (plain)
1
2
3
4
5
6
7
8
9
10
11

clear;
clc;
close;
clf;
x=[0 1 2 3 4];
y=2^x;
xtitle("Graph of 2^x","x-axis","y-axis");
plot(x,y,"o-");
legend("y=2^x");
xgrid();