Statistics
MATLAB Answers
0 Questions
1 Answer
RANK
253,588
of 301,432
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,280
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,555
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Answered
How do I use an if-else structure inside a for loop to investigate if each component of a row vector is inside or outside the boundaries?
a = 1; b = 10; c = 20; vec = [a, b, c]; for i=1:numel(vec) v=vec(i); if 5<=vec<=15; print("...
How do I use an if-else structure inside a for loop to investigate if each component of a row vector is inside or outside the boundaries?
a = 1; b = 10; c = 20; vec = [a, b, c]; for i=1:numel(vec) v=vec(i); if 5<=vec<=15; print("...
4 years ago | 0
