Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
MATLAB: A Practical Introduction to Programming and Problem Solving
by
Stormy Attaway
Edition:
Fourth Edition
ISBN13:
ISBN10:
459
Matlab
Home
Books
MATLAB: A Practical Introduction to Programming and Problem Solving
Similar Books
No books found
Title
Chapter: 10 /
Q: 2.10
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
Chapter: 10 /
Q: 3.10
The overall electrical resistance of n resistors in parallel is given as:
Chapter: 10 /
Q: 4.10
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 )
Chapter: 10 /
Q: 5.10
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
Chapter: 10 /
Q: 6.10
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
Chapter: 10 /
Q: 7.10
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,
Chapter: 10 /
Q: 8.10
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:
Chapter: 10 /
Q: 9.10
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
Chapter: 10 /
Q: 10.10
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.)
Chapter: 10 /
Q: 11.10
List some built-in functions that have a variable number of output arguments (or, at least one!)
total questions:
459
Previous
31
32
33
34
35
Next
Questions
459
Views
Best Answers
299
Points
5
×
Close
add reason
reason