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 nchars that will create a string of n characters, without using any loops or selection statements
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
143
Vectorize this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
204
Vectorize this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
162
Vectorize this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
178
Vectorize this:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
165
If the strings passed to strfind are the same length, what are the only two possible results that could be returned?
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
150
Write an m-file function called “plotsin” that will graphically demonstrate the difference in plotting the sin function with a different number of points in the range from 0 to 2π
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
438
Write a script that will generate a random integer, ask the user for a field width, and print the random integer with the specified field width. The script will use sprintf to create a string such as ‘The # is %4d\\n’ (if, for example, the user entered 4 for the field width)
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
247
Write a function that will receive one input argument, which is an integer n. The function will prompt the user for a number in the range from 1 to n (the actual value of n should be printed in the prompt) and return the user’s input
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
205
Write a function that will prompt the user separately for a filename and extension and will create and return a string with the form ‘filename.ext’
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
415
What does the blanks function return when a 0 is passed to it? A negative number? Write a function myblanks that does exactly the same thing as the blanks function, using the programming method. Here are some examples of calling it:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
178
Write a function “createUniqueName” that will create a series of unique names. When the function is called, a string is passed as an input argument. The function adds an integer to the end of the string,
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
410
Write a function that will receive a name and department as separate strings and will create and return a code consisting of the first two letters of the name and the last two letters of the department
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
190
Total:
2249
Previous
16
17
18
19
20
Next
Go