Khan Mohaimanul Islam
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
153,099
of 289,738
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 19,580
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,111
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
Make the vector lin=[1 2 3 ⋯ 20] (the integers from 1 to 20), and then make every other value in it negative to get lin=[1 −2 3 −4 ⋯ −20] . what is the MATLAB code?
lin=[1:20] then?
9 years ago | 2 answers | 0
2
answersQuestion
In general if 2 is divided by 10 then the answer is 0.2 and the remainder is 0.0. but MATLAB shows the remainder is 2.0.... why?
rem(2,10) ans = 2
9 years ago | 1 answer | 0