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: 12 /
Q: 18.12
Write a function that will plot cos(x) for x values ranging from –pi to pi in steps of 0.1, using black *’s. It will do this three times across in one Figure Window, with varying line widths
Chapter: 12 /
Q: 19.12
Create a graph, and then use the text function to put some text on it, including some \\specchar commands to increase the font size and to print some Greek letters and symbols
Chapter: 12 /
Q: 20.12
Create a rectangle object, and use the axis function to change the axes so that you can see the rectangle easily. Change the Position, Curvature, EdgeColor, LineStyle, and LineWidth. Experiment with different values for the Curvature
Chapter: 12 /
Q: 21.12
Write a script that will display rectangles with varying curvatures and line widths, as shown in the Figure. The script will, in a loop, create a 2 by 2 subplot showing rectangles
Chapter: 12 /
Q: 22.12
Write a script that will start with a rounded rectangle. Change both the x and y axes from the default to go from 0 to 3
Chapter: 12 /
Q: 23.12
A hockey rink looks like a rectangle with curvature. Draw a hockey rink, as in the Figure
Chapter: 12 /
Q: 24.12
Write a script that will create a two-dimensional patch object with just three vertices and one face connecting them
Chapter: 12 /
Q: 25.12
Using the patch function, create a black box with unit dimensions (so, there will be eight vertices and six faces). Set the edge color to white so that when you rotate the figure, you can see the edges
Chapter: 12 /
Q: 26.12
Write a function plotline that will receive x and y vectors of data points, and will use the line primitive to display a line using these points. If only the x and y vectors are passed to the function, it will use a line width of 5; otherwise, if a third argument is passed,
Chapter: 13 /
Q: 1.13
Create a custom colormap for a sphere that consists of the first 25 colors in the default colormap jet. Display sphere(25) with a colorbar
total questions:
459
Previous
37
38
39
40
41
Next
Questions
459
Views
Best Answers
299
Points
5
×
Close
add reason
reason