Statistics
2 Questions
0 Answers
RANK
228,376
of 300,674
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,041
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 170,032
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0

