Feeds
질문
Repeated user input for even numbers
The code needs to keep asking for user input until an even number is inputted. I've got this code so far: a = input('Input a va...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
Why does the loop not work for the increment stated?
for t= 0:1:20 a= [t, sin(t), 0]; b= [0, 0, cos(t)]; v= a + b; end The loop only calculates the value of v for 20, not 0 to ...
대략 7년 전 | 답변 수: 1 | 0

