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
Create a file that has some college department names and enrollments. For example, it might look like this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
210
Write a script that will loop to prompt the user for n circle radii. The script will call a function to calculate the area of each circle, and will write the results in sentence form to a file
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
179
The Wind Chill Factor (WCF) measures how cold it feels with a given air temperature (T, in degrees Fahrenheit) and wind speed (V, in miles per hour). One formula for the WCF follows:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
168
Write a script that creates a cell array of strings, each of which is a two-word phrase. The script is to write the first word of each phrase to a file “exitstrings.dat” in the format shown below
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
412
Create a file of strings as in the previous exercise, but create the file by opening a new M-file, type in strings, and then save it as a data file. Can the load function be used to read this in? What about textscan?
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
163
A data file is created as a char matrix and then saved to a file; for example,
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
162
Write a script to read in division codes and sales for a company from a file that has the following format: A 4.2 B 3.9 Print the division with the highest sales
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
165
Create a file which stores on each line a letter, a space, and a real number. For example, it might look like this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
159
Students from a class took an exam for which there were 2 versions, marked either A or B on the front cover ( ½ of the students had version A, ½ Version B)
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
400
Create a file “parts_inv.dat” that stores on each line a part number, cost, and quantity in inventory, in the following format: 123 5.99 52 Use fscanf to read this information, and print the total dollar amount of inventory (the sum of the cost multiplied by the quantity for each part)
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
250
Create a data file to store information on hurricanes. Each line in the file should have the name of the hurricane, its speed in miles per hour, and the diameter of its eye in miles
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
163
Assume that a file named testread.dat stores the following:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
186
A data file called “mathfile.dat” stores three characters on each line: an operand (a single digit number), an operator (a one character operator, such as +, -, /, \\, *, ^), and then another operand (a single digit number). For example, it might look like this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
178
Total:
2249
Previous
10
11
12
13
14
Next
Go