Alaa Al Miqdadi
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
A vector is given v=[6, 3, -9, 10, 5, 0, -8, 11, -15]. write a matlab command the doubles the elements that are odd and raises the elements that are even to th power of 2
therefore the answer would be the new vector is 36 6 -18 100 10 0 64 22 -30
10 years 前 | 2 个回答 | 0