summaryrefslogtreecommitdiff
path: root/3871/CH16/EX16.10/Ex16_10.sce
blob: a90c0ffdb99d9b79885f954f0e5704f9e67bfc7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//=====================================================================================
//Chapter 16 example 10

clc;clear all;

//variable declartion
wy     = 3;    //positive Y-axis in pattern
wx     = 2;    //positive X-axis in pattern

//calculations
f   =wy/(wx);    //frequency of vertical and horizontal signal 

//result
mprintf("frequency of vertical and horizontal signal  = %3.1f",f);