shegmite
Member level 1

Obtain an output in sequential multiplication using matlab
Hi all,
Can anyone help with proper codes in matlab to implement the program below:
% constants
n = 1
x = 1
P = 4
Zc = 95
Zo = 100
% perform computations
m = 1:10:800; % range of m to be computed
ZB = 1+((m)*sin(2*pi*n*x/P));
Z1= abs(Zc*Zo*Z1);
% output
Zt = Z1*Z2*...*Zn % output Z1 to be multiplied sequentially for each value- of m computed
Thanks for your assistance
Hi all,
Can anyone help with proper codes in matlab to implement the program below:
% constants
n = 1
x = 1
P = 4
Zc = 95
Zo = 100
% perform computations
m = 1:10:800; % range of m to be computed
ZB = 1+((m)*sin(2*pi*n*x/P));
Z1= abs(Zc*Zo*Z1);
% output
Zt = Z1*Z2*...*Zn % output Z1 to be multiplied sequentially for each value- of m computed
Thanks for your assistance
Last edited: