MATLAB: Proper way of making for loop compute a unequal points

for loop computation for unqual points

Can anyone help with the proper syntax to compute the following points using for loop and get an output for each point as shown
for f = 1 4 10 12 17 19 24 26 34 38;
m = 10;
Zcb = 104.5;
Zo =100;
n = 800 ;
x = 1;
P = 800;
Z1 = 1+((m)*sin(2*pi*n*x/P));
ZB = abs(Zcb*Zo*Z1);
end

Best Answer

for f = [1 4 10 12 17 19 24 26 34 38]
Related Question