- #1
Superposed_Cat
- 388
- 5
Hi, I'm totally new to MATLAB and tried this for loop
it displays
Why did it display this twice?
Thanks for any help.
Code:
for K = 1:10
disp(abs(tan(K)))
end
it displays
Code:
1.5574
2.1850
0.14255
1.1578
3.3805
0.29101
0.87145
6.7997
0.45232
0.64836
1.5574
2.1850
0.14255
1.1578
3.3805
0.29101
0.87145
6.7997
0.45232
0.64836
Why did it display this twice?
Thanks for any help.