Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use Matlab please 2. (55%) A two dimensional array (m by n) represents a stack of filing cabinets in an office. Perform the following a.

image text in transcribed use Matlab please
2. (55%) A two dimensional array (m by n) represents a stack of filing cabinets in an office. Perform the following a. (10%) Accept the values n and m. Verify that n is between 3 and 5 and m between 1 and 10. Fill the array with random integer number in the range of 0 to 15. Print out the . b. (10%) Find out how many time the number p appears in the table. The number p is requested by the program and validated. Print out the answer C. (10%) Determine how many elements contains the number 15 and how many the number 0. Print out the results. d. (10%) Find the sum of the number is column p. The number p is provided by the user. Print out the result. e. (15%) Define an array of the size of 1 by 15. Fill the array as follows: Element (1.1) will hold the number of times the number 1 appears in the array, element (1.2) will hold the number of times the number 2 appears in the array and so on. Print out the results

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Evaluate the integrals in Problem .3 2e* dx 0,

Answered: 1 week ago