blob: 366bb79019ae0f8fac8ebf77faf81e9a277e6f91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//page 29
//Example 2.1
clear;
clc;
close;
disp('a and b are n-tuples scalars as:')
disp('a = (x1,x2,x3,..,xn)');
disp('b = (y1,y2,y3,..,yn)');
disp('Then a+b = (x1+y1, x2+y2, x3+y3,.., xn+yn)');
disp('And a*b = (x1*y1, x2*y2, x3*y3,..,xn*yn)');
//end
|