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 /462/CH10/EX10.5/ex_10_5.sce | |
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 '462/CH10/EX10.5/ex_10_5.sce')
-rwxr-xr-x | 462/CH10/EX10.5/ex_10_5.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/462/CH10/EX10.5/ex_10_5.sce b/462/CH10/EX10.5/ex_10_5.sce new file mode 100755 index 000000000..da44a4969 --- /dev/null +++ b/462/CH10/EX10.5/ex_10_5.sce @@ -0,0 +1,6 @@ +//example 10.5//
+clc
+//clears the window//
+clear
+//clears already existing variables//
+disp('the digital value 000 should be assigned to the analog voltage interval 0V +-S/2, Since in 2''s compliment representation, there is one more negative number than the number of positive numbers, the analog voltage from -V to +V should be divided in seven intervals, each of size S=2V/7, and one digital value is to be assigned to each interval. The extra digit output 100 can be used to represent the interval -V to -9V/7')
\ No newline at end of file |