Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
roba younis Questions
2249 Questions
List some built-in functions to which you pass a variable number of input arguments (Note: this is not asking for varargin, which is a builtin cell array, or nargin.)
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
162
The built-in function date returns a string containing the day, month, and year. Write a function (using the date function) that will always return the current day
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
160
Information on some hurricanes is stored in a vector of structures; the name of the vector variable is hurricanes. For example, one of the structures might be initialized as follows:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
151
Write a function “cylcalcs” that will receive the radius and height of a cylinder and will return the area and volume of the cylinder. If the function is called as an expression or in an assignment statement with one variable on the left,
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
162
Write a function unwind that will receive a matrix as an input argument. It will return a row vector created columnwise from the elements in the matrix. If the number of expected output arguments is two, it will also return this as a column vector
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
159
Most lap swimming pools have lanes that are either 25 yards long or 25 meters long; there’s not much of a difference. A function “convyards” is to be written to help swimmers calculate how far they swam
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
402
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3π r3 )
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
445
The overall electrical resistance of n resistors in parallel is given as:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
210
Write a function numbers that will create a matrix in which every element stores the same number num. Either two or three arguments will be passed to the function
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
171
Write a function that will print a random integer. If no arguments are passed to the function, it will print an integer in the inclusive range from 1 to 100
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
184
Write a menu-driven program that will read in an employee data base for a company from a file, and do specified operations on the data. The file stores the following information for each employee:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
195
Environmental engineers are trying to determine whether the underground aquifers in a region are being drained by a new spring water company in the area. Well depth data has been collected every year at several locations in the area
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
165
An engineering corporation has a data file “vendorcust.dat” which has names of its vendors and customers for various products, along with a title line
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
437
Total:
2249
Previous
9
10
11
12
13
Next
Go