photo

EiGi


Active since 2016

Followers: 0   Following: 0

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
234,610
of 300,863

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,100

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,413

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

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I add 1 to all even numbers and add 3 to all odd numbers in a vector?
I have no idea how to do this.I already created a vector by typing: vec = round(-10 + 35* rand(1,30)); and next I am suppose to ...

9 years ago | 2 answers | 0

2

answers