proper way of making for loop compute a unequal points
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!