0% found this document useful (0 votes)
7 views

Adobe Scan 04-Oct-2021

Matlab

Uploaded by

pranavvibhute2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Adobe Scan 04-Oct-2021

Matlab

Uploaded by

pranavvibhute2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

%Q1

A=[211;562;707]
3x1
211
562

rank(A)

ans1

KQ2
x=[®:5:10e];
y=X
plot (x,y)

100

80

50

50

30

20

10

60 80 100

%Q3
x=[1 2 3 4 5 6 7 8 9 10];
x=[-100:20:100]
y=x.*2
plot (x,y)
ylabel y-axis
xlabel x-axis

1
10000

9000

8000

7000

6000

5000

4000

3000

2000
2/9
1000

0 100
-100 50 50
X-axis

%Q4
x=[1 2 3 4 5 6 7 8 9 10];
x=[-100:20:100];
y=X. *35
plot(x,y)
ylabel y-axis
xlabel x-axis

2
110
0.8

0.6

0.4F
0.2

0.2

-0.4

-0.6

-0.8

O -50 50 100
X-axis

%Q5
x=[1 2 3 4 5 6 7 8 9 10]
x=[-100:20:100];
y=x.4;
plot (x,y)
ylabel y-axis
xlabel x-axis
10 x10

100 50 100
x-axis

KQ6
x=[1 2 34 5 6 7 8 9 10];
X=[-100:20:100];
y=X. 55
plot(x,y))
ylabel y-axis
Xlabel X-axis

4/9
x 100

0.8

o.6

0.4

0.2

-0.2

-0.4

-0.6
-0.8

-100 50 50 I00
X-axis

%Q7
x=[0:0.01:10];
y=sin(x)5
plot (x,y)
ylabel y-axis
xlabel x-axis

5
0.8

0.6

0.4

0.2

-0.2

-0.4

-0.6

-0.8

0
10
X-axis

%Q8
x=[0:0.01:10];
y=sin(x)i
g cos(x))
plot(x,y, x, g, '.-'), legend('sin (x) ', 'cos (x) *)
ylabel y-axis
xlabel x-axis

6
0.8 sin(x)
cos(x)
0.6

0.4

0.2

-0.2

-0.4

-0.6

-0.8

8 0
X-axis

%Q9
x=[0:0.01:10];
y=3x.4+2*x. ^3+7*x.^2+2*x+9;
g-5*x.3+9*x*2;
plot (x,y,'rx,8, '8')
ylabel y-axis
xlabel x-axis
3.5 x10

2.5

0.5

0 10

x-axis

Q10
x=[0:0.01:10];
y=exp(-x). *sin(2*x+3);
plot (x,y), axis([0 10 -1 1])
0.8

0.6

0.4

0.2

0.2

-0.4

-0.6

0.8

-1
8 10

You might also like