Statistics
1 Question
0 Answers
RANK
275,559
of 295,467
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
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
Given a matrix A = [2 5 7; 4 1 8], write a for loop that will replace all the even numbers with 0.
I'm looking for something using a for loop (probably nested) and possibly mod(A,2) to determine the even numbers What I tried...
8 years ago | 2 answers | 0