29 views

Uploaded by ikhlaqgee

- Fa and Procrustes Problems
- Multiplicar Dos Matrices ALG II SPN l v3 Ezo s1
- An Intuitive Guide to Linear Algebra _ BetterExplained
- Johns Tutorial on Everyday Mathcad
- Method of finite elements by Dr. Mojsilovic
- Teaching coding through games: gamecodization!
- Algeb Research
- week2 coursera
- Fundamentals of MathCAD
- 35 Searching Applications
- midsem-14-1
- Matrices
- New Additional Mathematics Cheat Sheet
- Ddd
- Mba Fyic Semester i to Vi Cbcegs Semester Vii to x Old Sys
- Convolution Matrix
- Fire Seat 2010 Pp 037 Sun
- MATRICES
- 8-2
- MAS109 Syllabus 2017Fall

You are on page 1of 4

Q.1. Create a symmetric matrix m with five rows and five columns. Calculate its

transpose and verify that the matrix is symmetric by observing that m=m.

Solution:

m=

5

1

2

3

7

1

2

3

7

3

2

3

7

3

2

3

7

3

2

1

7

3

2

1

5

>> m'

ans =

5

1

2

3

7

1

2

3

7

3

2

3

7

3

2

3

7

3

2

1

7

3

2

1

5

>> a=m-m'

%m=m

%m-m=0

a=

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Q.2. Create a random matrix with 3 rows and 5 columns. The matrix values should

be integer b/w (0100), than change its all 2 rows values by 7.

Solution:

a=randint(3,5,[0,100])

a=

65

82

66

34

29

34

53

73

31

84

57

37

70

55

44

a(1:2,1:5)=7

a=

7

7

61

7

7

76

7

7

82

7

7

79

7

7

17

and also cascade more than one vector to form a matrix try to

make a matrix with the following properties.

(1) Matrix should contain 2 rows.

(2) First row of matrix should contain even number b/w (010)

(3) Second row of matrix should contain odd number b/w (11

20)

Solution:

b=

2

10

>> c=[11:2:20]

c=

11

13

15

17

19

8

17

10

19

>> mat=[b ; c]

mat =

2

11

4

13

6

15

calculate

(a) c=d+e

(b) (b) c=d-e

(c) (c) c=d*e

(d) (d) c=d/e

(e) Note: multiplication and division should be done element

by element.

Solution:

clc

clear all

close all

d= [1+2j 3 ; 7

d=

% clears desktop

% Removes all variables and functions

% Closes all the open windows

5j ]

1.0000 + 2.0000i

7.0000

e=

2.0000 + 3.0000i

0

3.0000

0 + 5.0000i

5.0000 + 5.0000i

1.0000 - 8.0000i

c=d+e

c=

3.0000 + 5.0000i

7.0000

8.0000 + 5.0000i

1.0000 - 3.0000i

(b) c = d-e

d= [1+2j 3 ; 7

d=

5j ]

1.0000 + 2.0000i

3.0000

7.0000

0 + 5.0000i

e=

2.0000 + 3.0000i

0

c=

-1.0000 - 1.0000i

7.0000

5.0000 + 5.0000i

1.0000 - 8.0000i

c=d+e

(c) c=d*e

d= [1+2j 3 ; 7

5j ]

-2.0000 - 5.0000i

-1.0000 +13.0000i

d=

1.0000 + 2.0000i

7.0000

3.0000

0 + 5.0000i

e=

2.0000 + 3.0000i

0

5.0000 + 5.0000i

1.0000 - 8.0000i

c=

-4.0000 + 7.0000i

0

15.0000 +15.0000i

40.0000 + 5.0000i

c=d*e

(d) c=d/e

d= [1+2j 3 ; 7

d=

5j ]

1.0000 + 2.0000i

7.0000

e=

c=d/e

c=

3.0000

0 + 5.0000i

2.0000 + 3.0000i

0

5.0000 + 5.0000i

1.0000 - 8.0000i

0.6154 + 0.0769i

0.3000 - 0.3000i

Inf

-0.6154 + 0.0769i

y=3*exp (3*pi*t);

Choose t from (0---150) with increment of 0.001

Solution:

clc

clear all

close all

t=0:0.001:150

y=3*exp(3*pi*t)

plot (t,y)

xlabel (time')

grid on

% clears desktop

% Removes all variables and functions

% Closes all the open windows

% Time for given function will be

% Generating the function

% plotting the signal

% Labeling the X-axis

ylabel ('Amplitude')

% Labeling the Y-axis

% start grid On

- Fa and Procrustes ProblemsUploaded bySekti Wicaksono
- Multiplicar Dos Matrices ALG II SPN l v3 Ezo s1Uploaded bygerardodoac
- An Intuitive Guide to Linear Algebra _ BetterExplainedUploaded byMo Ibra
- Johns Tutorial on Everyday MathcadUploaded bynnlice
- Method of finite elements by Dr. MojsilovicUploaded byMurathan Paksoy
- Teaching coding through games: gamecodization!Uploaded byAndoni Sanz
- Algeb ResearchUploaded byAudrey Noelle Waje
- week2 courseraUploaded byPuneet Jindal
- Fundamentals of MathCADUploaded byjessegerber
- 35 Searching ApplicationsUploaded bySrinivas Vemula
- midsem-14-1Uploaded byNishal Caleb
- MatricesUploaded by5colourbala
- New Additional Mathematics Cheat SheetUploaded bySyed Muktadir
- DddUploaded byNagarjuna Iyer
- Mba Fyic Semester i to Vi Cbcegs Semester Vii to x Old SysUploaded byamit
- Convolution MatrixUploaded byPhạm Đình Sứng
- Fire Seat 2010 Pp 037 SunUploaded byMariano Serrano
- MATRICESUploaded bykhai_83
- 8-2Uploaded bysarasmile2009
- MAS109 Syllabus 2017FallUploaded byMahmoud Asem
- Guia Matrix Fitting MATLABUploaded byThomaz Pithon
- Icar Ug SyllabusUploaded byNikhil Gobhil
- Ace PackUploaded bymarcos_de_carvalho
- HomeworkSolutionsF05.pdfUploaded bySteven KaEne
- Coupled PendulumsUploaded bySreetama Das
- First-Year-Engineering mumbai.pdfUploaded bysiddharath
- lab 1.docUploaded byAzhar Shafique
- A2T-MatrixTransformsUploaded byNicholas Yates
- Permutations and Row SwapsUploaded byShuX13
- CAT SyllabusUploaded byrock_on_rupz99

- Text Categorization (2)Uploaded byYasmani Isaac
- Numerical Methods 2009 [CuPpY]Uploaded bylovemaleesha
- GMM, EM, K-Means, Max. Likelihood (konu anlatımı)Uploaded byÖzgür Genç
- Blind Signal-To-Noise Ratio EstimationUploaded byaminovski
- Chapter 10 Association RuleUploaded bynadia friza
- Pulse-Modulation-Techniqnes.pdfUploaded byDinesh Tilante
- Progress In Material Handling Research: 1998Uploaded bynamighconnectqutedua
- prolog-lists.pdfUploaded bytina_5432005
- Ls Fitting SlidesUploaded byjaneth44
- A2 1st Sem Exam Review 2011Uploaded byklb925
- PDEs - Solutions (1)Uploaded byscribd6289
- Simulation Model ReportUploaded byVaibhav Pardale
- Correlation of EUL Adm Control to EUL CSSR DegradationUploaded byBimbi Altoudi
- LawUploaded byTrinh Vtn
- Lambda Tuning RulesUploaded byHéctor Hernández Malerva
- solution for some quantum mecanic exerciseUploaded byHi Black
- Enhancement of Reverberant Speech Using Various TransformsUploaded byPhilip Roshan
- Presentation a NuUploaded byRoopa Shree
- n Lp ExamplesUploaded bySandrita Mónica
- fftw3Uploaded byRicardo Alonso Muñoz Canales
- The Boosting Approach to Machine Learning An OverviewUploaded byVania Pukalova
- PDEs - Problems (1)Uploaded byscribd6289
- MRI1Uploaded by9750313106
- FM11 Ch 02 Mini CaseUploaded bymail2ciby
- DMX4543-Control Systems Engineering-2017-2018 Assignment 1Uploaded byDon Nuwan Danushka
- Data Compression Lempel-Ziv CodingUploaded bysfofoby
- Digital SignatureUploaded byAnish Thomas
- E-pathUploaded bySummrina Kanwal
- Graph Theory SeminarUploaded byPuneet Patil
- Clustering Approach Recommendation System using Agglomerative AlgorithmUploaded byAnonymous kw8Yrp0R5r