Submit Search
Upload
Gilat_ch02.pdf
•
0 likes
•
49 views
A
ArhamQadeer
Follow
matlab chapter 2
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 18
Download now
Download to read offline
Recommended
Gilat_ch03.pdf
Gilat_ch03.pdf
ArhamQadeer
Gilat_ch01.pdf
Gilat_ch01.pdf
ArhamQadeer
2019-ME-37(NMC).docx
2019-ME-37(NMC).docx
ArhamQadeer
Gilat_ch05.pdf
Gilat_ch05.pdf
ArhamQadeer
Solution Manual : Chapter - 05 Integration
Solution Manual : Chapter - 05 Integration
Hareem Aslam
Math quota-cmu-g-455
Math quota-cmu-g-455
Rungroj Ssan
Solutions manual for calculus an applied approach brief international metric ...
Solutions manual for calculus an applied approach brief international metric ...
Larson612
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Hareem Aslam
Recommended
Gilat_ch03.pdf
Gilat_ch03.pdf
ArhamQadeer
Gilat_ch01.pdf
Gilat_ch01.pdf
ArhamQadeer
2019-ME-37(NMC).docx
2019-ME-37(NMC).docx
ArhamQadeer
Gilat_ch05.pdf
Gilat_ch05.pdf
ArhamQadeer
Solution Manual : Chapter - 05 Integration
Solution Manual : Chapter - 05 Integration
Hareem Aslam
Math quota-cmu-g-455
Math quota-cmu-g-455
Rungroj Ssan
Solutions manual for calculus an applied approach brief international metric ...
Solutions manual for calculus an applied approach brief international metric ...
Larson612
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Hareem Aslam
Solution Manual : Chapter - 01 Functions
Solution Manual : Chapter - 01 Functions
Hareem Aslam
Hand book of Howard Anton calculus exercises 8th edition
Hand book of Howard Anton calculus exercises 8th edition
PriSim
V2.0
V2.0
Manmeet Singh
008 math a-net
008 math a-net
Nuttarika Kornkeaw
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Hareem Aslam
Integral table
Integral table
Antonio Alanya
Cuaderno+de+integrales
Cuaderno+de+integrales
joseluisroyo
Clase 15 dsp
Clase 15 dsp
Marcelo Valdiviezo
Solution Manual : Chapter - 02 Limits and Continuity
Solution Manual : Chapter - 02 Limits and Continuity
Hareem Aslam
College algebra Assignment
College algebra Assignment
Denni Domingo
Clase 16 dsp
Clase 16 dsp
Marcelo Valdiviezo
Potencias y radicales resueltos 1-5
Potencias y radicales resueltos 1-5
Educación
Trial terengganu 2014 spm add math k2 skema
Trial terengganu 2014 spm add math k2 skema
Cikgu Pejal
communication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manual
amirhosseinozgoli
Communication systems solution manual 5th edition
Communication systems solution manual 5th edition
Tayeen Ahmed
Add Maths 1
Add Maths 1
morabisma
7 วิชา คณิต the brain
7 วิชา คณิต the brain
Jamescoolboy
Chapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLAB
Pranoti Doke
Counting Sort and Radix Sort Algorithms
Counting Sort and Radix Sort Algorithms
Sarvesh Rawat
1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros
Bea Marfer
Negative numbers
Negative numbers
Ahmed Shaaban
MATLAB ARRAYS
MATLAB ARRAYS
Aditya Choudhury
More Related Content
What's hot
Solution Manual : Chapter - 01 Functions
Solution Manual : Chapter - 01 Functions
Hareem Aslam
Hand book of Howard Anton calculus exercises 8th edition
Hand book of Howard Anton calculus exercises 8th edition
PriSim
V2.0
V2.0
Manmeet Singh
008 math a-net
008 math a-net
Nuttarika Kornkeaw
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Hareem Aslam
Integral table
Integral table
Antonio Alanya
Cuaderno+de+integrales
Cuaderno+de+integrales
joseluisroyo
Clase 15 dsp
Clase 15 dsp
Marcelo Valdiviezo
Solution Manual : Chapter - 02 Limits and Continuity
Solution Manual : Chapter - 02 Limits and Continuity
Hareem Aslam
College algebra Assignment
College algebra Assignment
Denni Domingo
Clase 16 dsp
Clase 16 dsp
Marcelo Valdiviezo
Potencias y radicales resueltos 1-5
Potencias y radicales resueltos 1-5
Educación
Trial terengganu 2014 spm add math k2 skema
Trial terengganu 2014 spm add math k2 skema
Cikgu Pejal
communication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manual
amirhosseinozgoli
Communication systems solution manual 5th edition
Communication systems solution manual 5th edition
Tayeen Ahmed
Add Maths 1
Add Maths 1
morabisma
7 วิชา คณิต the brain
7 วิชา คณิต the brain
Jamescoolboy
What's hot
(17)
Solution Manual : Chapter - 01 Functions
Solution Manual : Chapter - 01 Functions
Hand book of Howard Anton calculus exercises 8th edition
Hand book of Howard Anton calculus exercises 8th edition
V2.0
V2.0
008 math a-net
008 math a-net
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Solution Manual : Chapter - 07 Exponential, Logarithmic and Inverse Trigonome...
Integral table
Integral table
Cuaderno+de+integrales
Cuaderno+de+integrales
Clase 15 dsp
Clase 15 dsp
Solution Manual : Chapter - 02 Limits and Continuity
Solution Manual : Chapter - 02 Limits and Continuity
College algebra Assignment
College algebra Assignment
Clase 16 dsp
Clase 16 dsp
Potencias y radicales resueltos 1-5
Potencias y radicales resueltos 1-5
Trial terengganu 2014 spm add math k2 skema
Trial terengganu 2014 spm add math k2 skema
communication-systems-4th-edition-2002-carlson-solution-manual
communication-systems-4th-edition-2002-carlson-solution-manual
Communication systems solution manual 5th edition
Communication systems solution manual 5th edition
Add Maths 1
Add Maths 1
7 วิชา คณิต the brain
7 วิชา คณิต the brain
Similar to Gilat_ch02.pdf
Chapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLAB
Pranoti Doke
Counting Sort and Radix Sort Algorithms
Counting Sort and Radix Sort Algorithms
Sarvesh Rawat
1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros
Bea Marfer
Negative numbers
Negative numbers
Ahmed Shaaban
MATLAB ARRAYS
MATLAB ARRAYS
Aditya Choudhury
Solution of matlab chapter 2
Solution of matlab chapter 2
AhsanIrshad8
Obj. 5 Midpoint and Distance Formulas
Obj. 5 Midpoint and Distance Formulas
smiller5
Indices
Indices
Shasha Wini
Ernest f. haeussler, richard s. paul y richard j. wood. matemáticas para admi...
Ernest f. haeussler, richard s. paul y richard j. wood. matemáticas para admi...
Jhonatan Minchán
Sol mat haeussler_by_priale
Sol mat haeussler_by_priale
Jeff Chasi
31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manual
Mahrukh Khalid
Solucionario de matemáticas para administación y economia
Solucionario de matemáticas para administación y economia
Luis Perez Anampa
Introduction to machine learning algorithms
Introduction to machine learning algorithms
bigdata trunk
Solucionario c.t. álgebra 5°
Solucionario c.t. álgebra 5°
Edward Quispe Muñoz
Solution of matlab chapter 6
Solution of matlab chapter 6
AhsanIrshad8
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Pollockker
Exponent & Logarithm
Exponent & Logarithm
guest0ffcb4
Question 1 of 205.0 PointsSolve the following radical equation .docx
Question 1 of 205.0 PointsSolve the following radical equation .docx
teofilapeerless
Matlab quick quide3.4
Matlab quick quide3.4
Mohamd Fawzi Nabulsi
Cuestionario n° 1 del ii ciclo(resolución de problemas matemáticos ii) jesé g...
Cuestionario n° 1 del ii ciclo(resolución de problemas matemáticos ii) jesé g...
jese jeff gutierrez cardenas
Similar to Gilat_ch02.pdf
(20)
Chapter 6 Matrices in MATLAB
Chapter 6 Matrices in MATLAB
Counting Sort and Radix Sort Algorithms
Counting Sort and Radix Sort Algorithms
1 fichas refuerzo operaciones combinadas numeros
1 fichas refuerzo operaciones combinadas numeros
Negative numbers
Negative numbers
MATLAB ARRAYS
MATLAB ARRAYS
Solution of matlab chapter 2
Solution of matlab chapter 2
Obj. 5 Midpoint and Distance Formulas
Obj. 5 Midpoint and Distance Formulas
Indices
Indices
Ernest f. haeussler, richard s. paul y richard j. wood. matemáticas para admi...
Ernest f. haeussler, richard s. paul y richard j. wood. matemáticas para admi...
Sol mat haeussler_by_priale
Sol mat haeussler_by_priale
31350052 introductory-mathematical-analysis-textbook-solution-manual
31350052 introductory-mathematical-analysis-textbook-solution-manual
Solucionario de matemáticas para administación y economia
Solucionario de matemáticas para administación y economia
Introduction to machine learning algorithms
Introduction to machine learning algorithms
Solucionario c.t. álgebra 5°
Solucionario c.t. álgebra 5°
Solution of matlab chapter 6
Solution of matlab chapter 6
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Solutions manual for fundamentals of business math canadian 3rd edition by je...
Exponent & Logarithm
Exponent & Logarithm
Question 1 of 205.0 PointsSolve the following radical equation .docx
Question 1 of 205.0 PointsSolve the following radical equation .docx
Matlab quick quide3.4
Matlab quick quide3.4
Cuestionario n° 1 del ii ciclo(resolución de problemas matemáticos ii) jesé g...
Cuestionario n° 1 del ii ciclo(resolución de problemas matemáticos ii) jesé g...
Recently uploaded
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
simmis5
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ranjana rawat
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
slot gacor bisa pakai pulsa
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
Call Girls in Nagpur High Profile Call Girls
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
fenichawla
Online banking management system project.pdf
Online banking management system project.pdf
Kamal Acharya
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
Kamal Acharya
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
rknatarajan
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
SIVASHANKAR N
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Call Girls in Nagpur High Profile
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Call Girls in Nagpur High Profile
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Recently uploaded
(20)
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
Online banking management system project.pdf
Online banking management system project.pdf
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Gilat_ch02.pdf
1.
1 Chapter 2 Solved Problems Problem
1 >> v=[3 4*2.55 68/16 45 110^(1/3) cosd(25) 0.05] v = 3.0000 10.2000 4.2500 45.0000 4.7914 0.9063 0.0500 Problem 2 >> v=[54/(3+4.2^2), 32, 6.3^2-7.2^2, 54, exp(3.7), sind(66)+cos(3*pi/8)] v = 2.6163 32.0000 -12.1500 54.0000 40.4473 1.2962 Problem 3 >> v=[25.5 14*tand(58)/(2.1^2+11) factorial(6) 2.7^4 0.0375 pi/5] v = 25.5000 1.4539 720.0000 53.1441 0.0375 0.6283 Problem 4 >> v=[32/3.2^2; sind(35)^2; 6.1; log(29^2); 0.00552; log(29)^2; 133] v = 3.1250
2.
2 Chapter 2:
Solved Problems 0.3290 6.1000 6.7346 0.0055 11.3387 133.0000 Problem 5 >> x=0.85; y=12.5; >> v=[y; y^x; log(y/x); y*x; x+y] v = 12.5000 8.5580 2.6882 10.6250 13.3500 Problem 6 >> a=3.5; b=-6.4; >> v=[a a^2 a/b a*b sqrt(a)] v = 3.5000 12.2500 -0.5469 -22.4000 1.8708 Problem 7 >> V=2:5:37 V = 2 7 12 17 22 27 32 37 Problem 8 >> v=linspace(81,12,9) v = 81.0000 72.3750 63.7500 55.1250 46.5000 37.8750 29.2500 20.6250 12.0000
3.
Chapter 2: Solved
Problems 3 Problem 9 >> v=[22.5:-2.5:0]' v = 22.5000 20.0000 17.5000 15.0000 12.5000 10.0000 7.5000 5.0000 2.5000 0 Problem 10 >> v=linspace(-21,12,15)' v = -21.0000 -18.6429 -16.2857 -13.9286 -11.5714 -9.2143 -6.8571 -4.5000 -2.1429 0.2143 2.5714 4.9286 7.2857 9.6429 12.0000
4.
4 Chapter 2:
Solved Problems Problem 11 >> same(1:7)=-3 same = -3 -3 -3 -3 -3 -3 -3 Problem 12 >> a(9)=7.5 a = 0 0 0 0 0 0 0 0 7.5000 Problem 13 >> b=[1:10 9:-1:1] b = 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 Problem 14 >> vecA=49:-3:10 vecA = 49 46 43 40 37 34 31 28 25 22 19 16 13 10 >> vecB=[vecA(1:4) vecA(11:14)] vecB = 49 46 43 40 19 16 13 10
5.
Chapter 2: Solved
Problems 5 Problem 15 >> vecC=13:4:73 vecC = 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 >> Codd=vecC(1:2:15) Codd = 13 21 29 37 45 53 61 69 >> Ceven=vecC(2:2:16) Ceven = 17 25 33 41 49 57 65 733 Problem 16 >> A=[0:5:30; 600:-100:0; linspace(0,5,7)] A = 0 5.0000 10.0000 15.0000 20.0000 25.0000 30.0000 600.0000 500.0000 400.0000 300.0000 200.0000 100.0000 0 0 0.8333 1.6667 2.5000 3.3333 4.1667 5.0000 >> A=[0:5:30; 600:-100:0; linspace(0,5,7)] A = 0 5.0000 10.0000 15.0000 20.0000 25.0000 30.0000 600.0000 500.0000 400.0000 300.0000 200.0000 100.0000 0 0 0.8333 1.6667 2.5000 3.3333 4.1667 5.0000 Problem 17 >> b=[1:5;linspace(0,0,5);linspace(3,3,5)]' b = 1 0 3 2 0 3 3 0 3 4 0 3 5 0 3
6.
6 Chapter 2:
Solved Problems Problem 18 >> Aninee(1:4,1:6)=9 Aninee = 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 Problem 19 >> C(3,5)=8 C = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 Problem 20 >> D(2:3,4:5)=6 D = 0 0 0 0 0 0 0 0 6 6 0 0 0 6 6 Problem 21 >> E(2:4,3:5)=[1:3;4:6;7:9] E = 0 0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 7 8 9
7.
Chapter 2: Solved
Problems 7 Problem 22 >> F(2:4,3:5)=[1:3;10:-2:6;20:6:32]' F = 0 0 0 0 0 0 0 1 10 20 0 0 2 8 26 0 0 3 6 32 Problem 23 Script file a=[7 2 -3 1 0]; b=[-3 10 0 7 -2]; c=[1 0 4 -6 5]; ma=[a;b;c] mb=[a' b' c'] clear Command Window ma = 7 2 -3 1 0 -3 10 0 7 -2 1 0 4 -6 5 mb = 7 -3 1 2 10 0 -3 0 4 1 7 -6 0 -2 5
8.
8 Chapter 2:
Solved Problems Problem 24 Script file a=[7 2 -3 1 0]; b=[-3 10 0 7 -2]; c=[1 0 4 -6 5]; ma=[a(1:3);b(1:3);c(1:3)] mb=[a(1:3)' b(1:3)' c(1:3)'] Command Window ma = 7 2 -3 -3 10 0 1 0 4 mb = 7 -3 1 2 10 0 -3 0 4 Problem 25 Script file a=[-4 10 0.5 1.8 -2.3 7]; b=[0.7 9 -5 3 -0.6 12]; ma=[a(2:5);b(3:6)] mb=[a(2:4)' a(4:6)' b(1:3)',b(3:5)'] Command Window ma = 10.0000 0.5000 1.8000 -2.3000 -5.0000 3.0000 -0.6000 12.0000 mb = 10.0000 1.8000 0.7000 -5.0000 0.5000 -2.3000 9.0000 3.0000 1.8000 7.0000 -5.0000 -0.6000
9.
Chapter 2: Solved
Problems 9 Problem 26 Script file a=9:-3:0 b=[a a] c=[a;a] d=[a' a'] e=[[a;a;a;a] a'] Command Window a = 9 6 3 0 b = 9 6 3 0 9 6 3 0 c = 9 6 3 0 9 6 3 0 d = 9 9 6 6 3 3 0 0 e = 9 6 3 0 9 9 6 3 0 6 9 6 3 0 3 9 6 3 0 0
10.
10 Chapter 2:
Solved Problems Problem 27 >> v=[15 0 6 -2 3 -5 4 9 1.8 -0.35 7] v = 15.0000 0 6.0000 -2.0000 3.0000 - 5.0000 4.0000 9.0000 1.8000 -0.3500 7.0000 >> a=v(2:5) a = 0 6 -2 3 >> b=v([1,3:7,11]) b = 15 6 -2 3 -5 4 7 >> c=v([10,2,9,4]) c = -0.3500 0 1.8000 -2.0000 Problem 28 v = 15.0000 0 6.0000 -2.0000 3.0000 - 5.0000 4.0000 9.0000 1.8000 -0.3500 7.0000 >> a=[v([2 7:10]);v([3,5:7,2])] a = 0 4.0000 9.0000 1.8000 -0.3500 6.0000 3.0000 -5.0000 4.0000 0 >> b=[v([3:5,8])' v([10 6 4 1])' v(7:-1:4)'] b = 6.0000 -0.3500 4.0000 -2.0000 -5.0000 -5.0000 3.0000 -2.0000 3.0000 9.0000 15.0000 -2.0000r
11.
Chapter 2: Solved
Problems 11 Problem 29 Script file A=[1:6;7:12;13:18] ha=A(1,:) hb=A(:,6)' hc=[A(2,1:3) A(3,4:6)] Command Window A = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ha = 1 2 3 4 5 6 hb = 6 12 18 hc = 7 8 9 16 17 18 Problem 30 Script file B=[18:-1:13;12:-1:7;6:-1:1] va=[B(:,2)' B(:,5)'] vb=[B(3,3:6) B(:,2)']' vc=[B(:,2)' B(:,4)' B(:,6)']' Command Window B = 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 va = 17 11 5 14 8 2 vb = 4
12.
12 Chapter 2:
Solved Problems 3 2 1 17 11 5 vc = 17 11 5 15 9 3 13 7 1 Problem 31 Script file C=0.7:1.2:17.5 D=reshape(C,5,3)' ua=[D(:,1)' D(:,3)' D(:,4)']' ub=[D(2,:) D(:,3)'] uc=[D(1,1:3) D(3,3:5)] Command Window C = 0.7000 1.9000 3.1000 4.3000 5.5000 6.7000 7.9000 9.1000 10.3000 11.5000 12.7000 13.9000 15.1000 16.3000 17.5000 D = 0.7000 1.9000 3.1000 4.3000 5.5000 6.7000 7.9000 9.1000 10.3000 11.5000 12.7000 13.9000 15.1000 16.3000 17.5000 ua = 0.7000 6.7000
13.
Chapter 2: Solved
Problems 13 12.7000 3.1000 9.1000 15.1000 4.3000 10.3000 16.3000 ub = 6.7000 7.9000 9.1000 10.3000 11.5000 3.1000 9.1000 15.1000 uc = 0.7000 1.9000 3.1000 15.1000 16.3000 17.5000 Problem 32 Script file a(5:7)=2; E=[a;0.7:-0.1:0.1;2:2:14;22:-3:4] F=E([2 4],3:7) G=E(:,3:5) Command Window E = 0 0 0 0 2.0000 2.0000 2.0000 0.7000 0.6000 0.5000 0.4000 0.3000 0.2000 0.1000 2.0000 4.0000 6.0000 8.0000 10.0000 12.0000 14.0000 22.0000 19.0000 16.0000 13.0000 10.0000 7.0000 4.0000 F = 0.5000 0.4000 0.3000 0.2000 0.1000 16.0000 13.0000 10.0000 7.0000 4.0000 G = 0 0 2.0000 0.5000 0.4000 0.3000 6.0000 8.0000 10.0000 16.0000 13.0000 10.0000
14.
14 Chapter 2:
Solved Problems Problem 33 Script file H=[1.7:-0.1:1.2;22:2:32;9:-1:4] G=[H(1,[1 2 5 6]);H(3,2:5)] K=[H(:,1)';H(:,4)';H(:,6)'] Command Window H = 1.7000 1.6000 1.5000 1.4000 1.3000 1.2000 22.0000 24.0000 26.0000 28.0000 30.0000 32.0000 9.0000 8.0000 7.0000 6.0000 5.0000 4.0000 G = 1.7000 1.6000 1.3000 1.2000 8.0000 7.0000 6.0000 5.0000 K = 1.7000 22.0000 9.0000 1.4000 28.0000 6.0000 1.2000 32.0000 4.0000 Problem 34 >> M=[3:2:13;15:-1:10;1 2 3 1 2 3] M = 3 5 7 9 11 13 15 14 13 12 11 10 1 2 3 1 2 3 >> A=M([1,2],[2,4,5]) A = 5 9 11 14 12 11 >> B=M(:,[1:3,6]) B = 3 5 7 13 15 14 13 10 1 2 3 3
15.
Chapter 2: Solved
Problems 15 >> C=M([1,3],:) C = 3 5 7 9 11 13 1 2 3 1 2 3 >> D=M([2,3],5) D = 11 2 Problem 35 >> N=[33:-3:24;21:-3:12;9 6 6 10;14:4:26;30:4:42]' N = 33 21 9 14 30 30 18 6 18 34 27 15 6 22 38 24 12 10 26 42 >> A=[N(1,1:4)',N(2,2:5)'] A = 33 18 21 6 9 18 14 34 >> B=[N(:,3)' N(3,:)] B = 9 6 6 10 27 15 6 22 38 >> C(3:4,5:6)=N(2:3,4:5) C = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 34 0 0 0 0 22 38
16.
16 Chapter 2:
Solved Problems Problem 36 >> v=1:3:34 v = 1 4 7 10 13 16 19 22 25 28 31 34 >> M=reshape(v,3,4) M = 1 10 19 28 4 13 22 31 7 16 25 34 >> M(2,:)=[] M = 1 10 19 28 7 16 25 34 >> M(:,3)=[] M = 1 10 28 7 16 34 >> N=ones(size(M)) N = 1 1 1 1 1 1 Problem 37 >> A=[ones(2);zeros(2)] A = 1 1 1 1 0 0 0 0 >> B=[eye(3) ones(3)] B = 1 0 0 1 1 1 0 1 0 1 1 1 0 0 1 1 1 1 >> C=[ones(2,4);zeros(1,4);ones(1,4)] C = 1 1 1 1
17.
Chapter 2: Solved
Problems 17 1 1 1 1 0 0 0 0 1 1 1 1 Problem 38 >> A=[eye(2) zeros(2,1) ones(2)] A = 1 0 0 1 1 0 1 0 1 1 >> B=[zeros(2) ones(2); zeros(1,4); ones(1,4)] B = 0 0 1 1 0 0 1 1 0 0 0 0 1 1 1 1 >> C=[ones(4,2),zeros(4,2),[ones(1) zeros(1,3)]'] C = 1 1 0 0 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 Problem 39 >> A=eye(6) A = 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 >> A(1:3,4:6)=eye(3) A = 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0
18.
18 Chapter 2:
Solved Problems 0 0 0 0 1 0 0 0 0 0 0 1 >> A(4:6,1:3)=eye(3) A = 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 Problem 40 >> A=ones(2) A = 1 1 1 1 >> A(3:4,3:4)=A A = 1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1 >> A=[A A] A = 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
Download now