photo

J.C. Martinez


San Francisco State University

Active since 2011

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
104,210
of 301,454

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,287

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,632

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

View by

Question


Adding 1 to odd numbers and 2 to even values of a matrix in an m file in MATLAB
I want to add 1 to all the odd numbers and 2 to all of the even numbers of my matrix. I think you can use an if statement and a...

15 years ago | 2 answers | 0

2

answers

Question


adding numbers in an M file
Here is my code. At the end I want it to add up all of the values. a = input('Enter number of days you would like to know th...

15 years ago | 2 answers | 0

2

answers