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 script that will first initialize a string variable that will store x and y coordinates of a point in the form ‘x 3.1 y 6.4’. Then, use string manipulating functions to extract the coordinates and plot them
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
433
Find out how to pass a vector of integers to int2str or real numbers to num2str
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
201
Use help isstrprop to find out what properties can be tested; try some of them on a string variable
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
191
The built-in clock function returns a vector with six elements representing the year, month, day, hours, minutes and seconds. The first five elements are integers whereas the last is a double value, but calling it with fix will convert all to integers
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
221
Create the following two variables:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
173
Either in a script or in the Command Window, create a string variable that stores a string in which numbers are separated by the character ‘x’, for example '12x3x45x2'
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
390
Load files named file1.dat, file2.dat, and so on in a loop. To test this, create just two files with these names in your Current Folder first
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
211
Using the functions char and double, one can shift words. For example, one can convert from lower case to upper case by subtracting 32 from the character codes:
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
171
In cryptography, the intended message sometimes consists of the first letter of every word in a string
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
157
Two variables store strings that consist of a letter of the alphabet, a blank space, and a number (in the form ‘R 14.3’). Write a script that would initialize two such variables
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
404
Words in a string variable are separated by right slashes (/) instead of blank spaces. Write a function slashtoblank that will receive a string in this form and will return a string in which the words are separated by blank spaces
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
168
Write a function rid_multiple_blanks that will receive a string as an input argument. The string contains a sentence that has multiple blank spaces in between some of the words
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
193
Write a function that will receive two input arguments: a character matrix that is a column vector of strings, and a string. It will loop to look for the string within the character matrix
Matlab
2022-11-30
Answers
30
Question
40
Followers
30
0
1
169
Total:
2249
Previous
15
16
17
18
19
Next
Go