diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /26/CH7/EX7.1.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '26/CH7/EX7.1.1')
-rwxr-xr-x | 26/CH7/EX7.1.1/7_1_1.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/26/CH7/EX7.1.1/7_1_1.sce b/26/CH7/EX7.1.1/7_1_1.sce new file mode 100755 index 000000000..09fe0b631 --- /dev/null +++ b/26/CH7/EX7.1.1/7_1_1.sce @@ -0,0 +1,8 @@ +disp('To check if the given 2X2 matrix is symmetric')
+a=[3 5;5 -7]
+disp(a,'A=')
+if(a(1,2)==a(2,1))
+ disp('A is a symmetric matrix because the (1,2) and(2,1) entries match.')
+else
+ disp('A is not a symmetric matrix')
+end
\ No newline at end of file |