summaryrefslogtreecommitdiff
path: root/70/CH5/EX5.5.2/5_5_2.sci
blob: 2e0b68631ee4cd106df8262ac4270d7dc0ec902d (plain)
1
2
3
4
5
6
7
8
9
10
//282
clear;
close;
clc;
i=sqrt(-1);
x=[1 i]';
y=[2+1*i 2-4*i]';
disp(x'*x,'Length of x squared:');
disp(y'*y,'Length of y squared:');
//end