Question 1 (60 points) Write a Matlab program that creates uses a 1 x 100 array of numbers and fills it with integers wh

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 1 (60 points) Write a Matlab program that creates uses a 1 x 100 array of numbers and fills it with integers wh

Post by answerhappygod »

Question 1 60 Points Write A Matlab Program That Creates Uses A 1 X 100 Array Of Numbers And Fills It With Integers Wh 1
Question 1 60 Points Write A Matlab Program That Creates Uses A 1 X 100 Array Of Numbers And Fills It With Integers Wh 1 (27.71 KiB) Viewed 56 times
Question 1 60 Points Write A Matlab Program That Creates Uses A 1 X 100 Array Of Numbers And Fills It With Integers Wh 2
Question 1 60 Points Write A Matlab Program That Creates Uses A 1 X 100 Array Of Numbers And Fills It With Integers Wh 2 (29.08 KiB) Viewed 56 times
Question 1 (60 points) Write a Matlab program that creates uses a 1 x 100 array of numbers and fills it with integers which count up from 1 to 50 and then down from 49 to 1 again (i.c., 1 2 3 4 47 48 49 50 49 48 47 4 3 2 1). It should display the array on the screen. ...

Question 2 (40 points) Write a Matlab program that starts with a total of zero and uses a WHILE loop to keep adding a random integer between -1 and +2 (i.e., either -1, 0, +1 or +2) to the total, until the total is greater than or equal to 100,000. The program should display the total as it runs and when finished tell the user how long it took to reach that total. Hint: one approach is for the program to stay in the WHILE loop while a variable called total hasn't been reached yet.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply