![hartmaaj95](/avatars/19487.jpg)
hartmaaj95
10.03.2020 •
Mathematics
Create a matrix x that contains the following row 1:the first 50 even numbers, starting from 0 row 2:the first 50 odd numbers, starting from 1 Use the colon operator to score the most efficient solution. No credit will be given for typing the numbers out
Solved
Show answers
More tips
- P Philosophy Why Did God Create Man and Place Him in Obscurity?...
- S Science and Technology How to Make a Homemade Smoker: The Ultimate Guide...
- S Society and Politics 10 Tips for Boosting Your Self-Esteem...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Mathematics
- M Mathematics The following examples illustrate the inverse property of addition. Study the examples, then choose the statement that best describes the property. WILL GIVE BRAINLIEST!!...
- M Mathematics 7. write and solve a system: a bag contains green marbles and red marbles, 82 in total. the number of green marbles is 3 less than 4 times the number of red marbles. how...
- M Mathematics It rained 5/8 each day for 5 days how much total rain fell...
- M Mathematics Explain your reasoning...
- S SAT Drag a reason to each box to complete this proof. If 12(8x+14)=39, then x = 8....
- M Mathematics In a survey, 29 people were asked how much they spent on their child s last birthday gift. The results were roughly bell-shaped with a mean of $41 and standard deviation...
Ответ:
a=0:2:98;
b=1:2:100;
x=[a;b]
Step-by-step explanation:
a=0:2:98;% this will creat row1 which is a row matrix of 50 even numbers
b=1:2:100;% this will creat row2 which is a row matrix of 50 odd number
x=[a;b]% this will stack up the two row matrix a and b into one matrix x
THE RESULT
Columns 1 through 20
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
Columns 21 through 40
40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78
41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79
Columns 41 through 50
80 82 84 86 88 90 92 94 96 98
81 83 85 87 89 91 93 95 97 99
Ответ: