[solved] – Question 81226
assignment is to explore the following matlab functions:
rand, disp, display, size, reshape, max, sum, repmat, ones, zeros, imshow, imhist, rgb2gray
You should write some matlab code to demonstrate the working of each of the above functions. Your matlab code should be written in such a way that any user without any prior knowledge of matlab should be able to read your code and understand exactly what a matlab function is doing in easy-to-understand manner. You may add comments in your code to explain thing in more detail.
If you are using Octave, you may need to add the following line on the top of your code:
pkg load image;
Expert Answer
[solved] – Question 81231
How many levels of abstraction a typical database should hold
Expert Answer
[solved] – Question 8124
i wanted to ask if you provide services for embedded systems
Expert Answer
[solved] – Question 813
What is the difference between POST and GET methods?
Expert Answer
[solved] – Question 81359
given the number 123456789, is it possible to find a permutation (i.e. a rearrangement that preserves the count of each number) such that the left most digit is evenly divisible by 1, the two left most digits are evenly divisible by 2, the three left most digits are divisibly by 3 and so on?
Expert Answer
[solved] – Question 81386
You are working on a documentation file userNotes.txt with some members of your software development team. Just before the file needs to be submitted, you manager tells you that a company standard requires that two blank spaces be left between the end-of-sentence period (.) and the start of the next sentence.
For example, this is OK:Turn the knob. Push the “on” button.
This is not:Turn the knob. Push the “on” button.
Some have inserted only a single blank between sentences.
You need to fix this fast, and the first thing you want to do is to find out how bad the problem is.
What command would you give to list all lines of userNotes.txt that contain sentence endings with only one blank before the start of the next sentence?
What command would you give to print (display on the screen) the corrected text of userNotes.txt with all sentence endings having required two blanks before the start of the next sentence?
Expert Answer
[solved] – Question 81397
What command would you give to list all lines of userNotes.txt that contain sentence endings with only one blank before the start of the next sentence?
Expert Answer
[solved] – Question 81441
Description of the Problem
Write a program to generate 3 random numbers in range 0-9. Let the user guess these three numbers. Display appropriate message to the user based on the following requirements:
Matching Numbers
Award
Any one matching
You won RM10
Two matching
You won RM100
Three matching, not in order
You won RM1000
Three matching in exact order
You won RM1,000,000
No matches
You won RM0
Sample Output 1
Enter the first digit of your guess 2
Enter the second digit of your guess 5
Enter the third digit of your guess 8
You guess was 2 5 8
and the random number was 1 0 7
You won $0
Sample Output 2
Enter the first digit of your guess 1
Enter the second digit of your guess 3
Enter the third digit of your guess 7
You guess was 1 3 7
and the random number was 1 0 7
You won $100
Expert Answer
[solved] – Question 81481
Consider the following table:
Pay Code Pay Rate
1 8
2 14
5 10
6 20
7 15
9 16
11 20
Notice that the pay codes in the array are in ascending numerical order. The user will enter the
pay code to search for in the array. Write C++ program that should search for the pay code in the
first column of the array, but the search should begin in the middle row, which is row 4. If the pay
code the user is searching for is located in the first column of row 4, the program should display
the corresponding pay rate from the second column in row 4. If the pay code the user is
searching for is greater than the pay code in row 4’s first column, the search continues in rows 5,
6, and 7. However, if the pay code the user is searching for is less than the pay code in row 4’s
first column, the search should continue in rows 3, 2, and 1.
(40
Expert Answer
[solved] – Question 815
How do you take your program to fullscreen console during init.?
Expert Answer

