Answer All questions. Take screenshots when using MATLAB to write the scripts and insert them in your final report. 3. Plot a two-dimensional graph of the two vectors x=[ 10.2 * 30 40 50 60 70 ] and y = [11 23 14 16 22 23 25] using the plot command. Add to the graph a suitable title along with labels for the x-axis and the y-axis.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Answer All questions. Take screenshots when using MATLAB to write the scripts and insert them in your final report.

3. Plot a two-dimensional graph of the two vectors
x=[ 10.2 * 30 40 50 60 70 ] and
y = [11 23 14 16 22 23 25] using the plot command.
Add to the graph a suitable title along with labels for the x-axis and the y-axis.


4. Plot the mathematical function y = 4x ^ 2 + 3 in the range x from - 7to + 7 o Include a title for the graph as well as labels for the two axes.
o Show the curve with a blue dashed line with circle symbols at the plotted points.


5. Plot the following four mathematical functions each with its own diagram using the subplot command. The functions are y = 2x ^ 3 - 4 z = x + 1 , d = x ^ 2 - 2 and v = x ^ 2 + 3 . Use the vector x=
[1 2 3 4 5 6 7 8 9 10] as the range for x.
o Include a title for the graph as well as labels for the two axes.
o Print the legend box
o Move the legend box to the south east


6. Use the surf command to plot a three-dimensional surface of elements of the following vectors: x =[1  2  3  4 5  6 7 8 9 10]. y =[1 2 3 4 5 6 7 8 9 10]. and z= sin(x) .^ * cos(y).
o There is no need to show title or axis information.
o display color scale

[11] Convert each of the following expressions into sum of products and product of sums :
(a) F = (AB+C)(B+CD)
(b) F= x + x(x + y) (y + z)
[12] Express the following functions as CSOP and CPOS expressions:
(a) F(x,y,z) = (x+y+z)(x+z') + yz
(b) F(w, x, y, z)=xy(wz+wz) (w+xz)
in terms of x, y, and z
in terms of w, x, y, and z
[13] Given the following pulse trains for A, B and C, draw the pulse trains for F₁ and F2.
B
A
C
D
F1
D
Draw the answers here
F2 B 0
F₁
A 1
F2
C 0
1
0
1
1
1
0
1
0
0
0 1
1
1
0 1
0
0
1
1
Transcribed Image Text:[11] Convert each of the following expressions into sum of products and product of sums : (a) F = (AB+C)(B+CD) (b) F= x + x(x + y) (y + z) [12] Express the following functions as CSOP and CPOS expressions: (a) F(x,y,z) = (x+y+z)(x+z') + yz (b) F(w, x, y, z)=xy(wz+wz) (w+xz) in terms of x, y, and z in terms of w, x, y, and z [13] Given the following pulse trains for A, B and C, draw the pulse trains for F₁ and F2. B A C D F1 D Draw the answers here F2 B 0 F₁ A 1 F2 C 0 1 0 1 1 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1
Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Knowledge Booster
Web Page
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education