blob: 1ee1bd0ab760ee48a9b31dac4d36f239284bc3a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Example 3.1
clc;
clear;
close;
// Given data
format('v',6);
Af= 10;// voltage gain
R1= 3;// in Ω
Rf= (Af-1)*R1;// From Af= 1+Rf/R1
disp(R1,"The value of R1 in Ω is : ");
disp(Rf,"The value of Rf in Ω is : ");
|