Matt Smith
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
76 072
of 290 091
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 19 640
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144 530
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
Modifying odd/even numbers of a column vector
How would I go about modifying the odd and even elements of the following vector ? x = [4 5 7 6 5 8 2 1]; So that when run it ...
ungefär 3 år ago | 2 answers | 0
2
answersQuestion
How do I modify my code to work for odd numbers?
So I have this code that check vector x for odd numbers and adds 5 to each of these. x = [4 5 7 6 5 8 2 1]; x=x+mod(x,2)*5; %F...
ungefär 3 år ago | 1 answer | 0