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: 12.10
Write a function that will receive a variable number of input arguments: the length and width of a rectangle, and possibly also the height of a box that has this rectangle as its base
Chapter: 10 /
Q: 13.10
Write a function to calculate the volume of a cone. The volume V is V = AH where A is the area of the circular base (A = r 2 where r is the radius) and H is the height. Use a nested function to calculate A
Chapter: 10 /
Q: 14.10
The two real roots of a quadratic equation ax^2 + bx + c = 0 (where a is nonzero) are given by
Chapter: 10 /
Q: 15.10
The velocity of sound in air is 49.02 T feet per second where T is the air temperature in degrees Rankine. Write an anonymous function that will calculate this. One argument, the air temperature in degrees R, will be passed to the function and it will return the velocity of sound
Chapter: 10 /
Q: 16.10
Create a set of anonymous functions to do length conversions and store them in a file named lenconv.mat. Call each a descriptive name, such as cmtoinch to convert from centimeters to inches
Chapter: 10 /
Q: 17.10
Write an anonymous function to convert from fluid ounces to milliliters. The conversion is one fluid ounce is equivalent to 29.57 milliliters
Chapter: 10 /
Q: 18.10
Why would you want to use an anonymous function?
Chapter: 10 /
Q: 19.10
Write an anonymous function to implement the following quadratic: 3x2-2x+5. Then, use fplot to plot the function in the range from -6 to 6
Chapter: 10 /
Q: 20.10
Write a function that will receive data in the form of x and y vectors, and a handle to a plot function and will produce the plot. For example, a call to the function would look like wsfn(x,y,@bar)
Chapter: 10 /
Q: 21.10
Write a function plot2fnhand that will receive two function handles as input arguments, and will display in two Figure Windows plots of these functions,
total questions:
459
Previous
32
33
34
35
36
Next
Questions
459
Views
Best Answers
299
Points
5
×
Close
add reason
reason