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 fives function that will receive two arguments for the number of rows and columns, and will return a matrix with that size of all fives
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
215
In quantum mechanics, the angular wavelength for a wavelength λ is defined as 2 . Write a function named makeitangular that will receive the wavelength as an input argument, and will return the angular wavelength
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
471
List some differences between a script and a function
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
216
Write a function mwh_to_gj that will convert from MWh to GJ
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
187
Write a function calcrectarea that will calculate and return the area of a rectangle. Pass the length and width to the function as input arguments
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
219
Create a file called “testtan.dat” comprised of two lines with three real numbers on each line (some negative, some positive, in the -1 to 3 range). The file can be created from the Editor, or saved from a matrix
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
467
A particular part is being turned on a lathe. The diameter of the part is supposed to be 20,000 mm. The diameter is measured every 10 minutes and the results are stored in a file called partdiam.dat. Create a data file to simulate this
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
251
Create a 3 x 6 matrix of random integers, each in the range of 50 - 100. Write this to a file called randfile.dat. Then, create a new matrix of random integers, but this time make it a 2 x 6 matrix of random integers, each in the range of 50 - 100
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
181
Generate a random integer n, create a vector of the integers 1 through n in steps of 2, square them, and plot the squares
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
238
Atmospheric properties such as temperature, air density, and air pressure are important in aviation. Create a file that stores temperatures in degrees Kelvin at various altitudes. The altitudes are in the first column and the temperatures in the second. For example, it may look like this:
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
321
Why do we always suppress all assignment statements in scripts?
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
196
When would it be important to use legend in a plot?
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
209
Plot sin(x) for x values ranging from 0 to (in separate Figure Windows): using 10 points in this range using 100 points in this range
Matlab
2022-11-29
Answers
30
Question
40
Followers
30
0
1
445
Total:
2249
Previous
26
27
28
29
30
Next
Go