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
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
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
410
A file houseafford.dat stores on its three lines years, median incomes and median home prices for a city. The dollar amounts are in thousands. For example, it might look like this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
203
Write a function plotexvar that will plot data points represented by x and y vectors which are passed as input arguments
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
171
Ch12Ex14.m % Plot line y = x with a random thickness x = [2 5]; y = x; hdl = plot(x,y); title('Line with random thickness') set(hdl,'LineWidth',randi([1 10]))
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
165
Write a script that will draw the line y=x between x=2 and x=5, with a random line width between 1 and 10
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
157
When an object with an initial temperature T is placed in a substance that has a temperature S, according to Newton’s law of cooling in t minutes it will reach
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
491
Create an x vector that has 30 linearly spaced points in the range from -2π to 2π, and then y as sin(x). Do a stem plot of these points, and store the handle in a variable
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
439
Create an x vector, and then two different vectors (y and z) based on x. Plot them with a legend. Use help legend to find out how to position the legend itself on the graph, and experiment with different locations
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
190
The electricity generated by wind turbines annually in kilowatt-hours per year is given in a file. The amount of electricity is determined by, among other factors, the diameter of the turbine blade (in feet) and the wind velocity in mph
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
144
Experiment with contour plots
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
183
Use the cylinder function to create x, y, and z matrices and pass them to the surf function to get a surface plot. Experiment with different arguments to cylinder
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
165
Experiment with the scatter and scatter3 functions
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
164
Experiment with the comet3 function: try the example given when help comet3 is entered and then animate your own function using comet3
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
175
Total:
2249
Previous
5
6
7
8
9
Next
Go