Matlab 1 assignment
docx
keyboard_arrow_up
School
Conestoga College *
*We aren’t endorsed by this school
Course
TCOMM8040
Subject
Electrical Engineering
Date
Apr 3, 2024
Type
docx
Pages
5
Uploaded by DeaconFang13376
Introduction
Exercise 1: Use MATLAB to evaluate. 5(3.9/1.24) + (2^3) [(90/15) – (2/1.5)]
Exercises
A=5*(3.9/1.24) +(2^3) Conclusion
Ans=
A=53.0591
Introduction
Exercise 2: Use variables to evaluate the value of the expression r = 2.3.
V = (4/3) π(r^3)
Exercises
0
Wireless Networking Infrastructure – Conestoga College
TCOM8000 – Telecommunications and Network Fundamentals
Introduction to MATLAB
r=2.3;
V= (4/3)*pi
Conclusion
Ans: V=50.9650
Introduction
Exercise 3: Using format short e, evaluate the value of F = 1/ (2 π \sqrt (LC)) for values C = 1.2 pF and L = 3.4 µH.
Exercises
C = 1.2e-12 %capacitance in Pico farad;
C = 1.2000e-12
>> L = 3.4e-6 %inductance in micro henry;
Conclusion
Ans: F=3.1106e
+09
Introduction
Exercise 4: Create a variable ‘I’ represent a vector with current values in
the range of 0 A to 10A with step size of 0.25 A.
Introduction to MATLAB
Exercises
A=1;
I =0*A:0.25*A:10*A
Conclusion
Introduction
Exercise 5: Create a 3x5 matrix with random elements and access the (2x2) elements in the upper right-hand corner.
Exercises
A= [33 34 36 38 32; 13 14 17 15 19;22 25 27 26 28]
B=A (1:2,4:5)
Conclusion
Introduction
Exercise 6: Without using a for loop, calculate the sum of all prime
numbers less than or equal to 100.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Introduction to MATLAB
(Hint: >> help isprime)
Exercises
a=1:1:100;
k=isprime(a)
;
x=k.*a
;
sum(x)
Conclusion
Ans: 1060 Practice Question
Introduction
Write a code, to plot a figure that shows the relationship between length of the antenna and frequency of operation,from 400MHz tp 3200MHz in steps of 100MHz.
Specify the length of antenna in cms.
Notes: L=Lambda/2
Lambda=c/f
Exercise
% Write the code,
C=3e8;
Freq=400e6:100e6:3200e6;
for i = 1:length(Freq)
Length(i)=C/Freq(i)/2;
Introduction to MATLAB
end
Length_cms=Length*100;
%
Conclusion
Related Documents
Related Questions
Do not give answer in image and hand writing
arrow_forward
Finding Standard SOP and K-Maps (see next page!)
Convert each expression to standard SOP form:
( A + B)(C+B')
ABD (4-term expression with A, B, C, D)
A + BD (4-term expression with A, B, C, D)
arrow_forward
I need the answer as soon as possible
arrow_forward
(i)Electrical pulses can be varied to represent characteristics of an analog voice signal.Propose ONE (1) pulse modulation scheme to represent the voice digitalization signal.Defend why your proposal is the best and support your answer by illustrating theelectrical pulses waveform to represent an analog voice signal.
(ii)Phase Shift Keying (PSK) demonstrates better performance than Frequency ShiftKeying (FSK). State your argument and draw a comparison waveform to illustrate theexamples of both shift keying method.
arrow_forward
Number 22
arrow_forward
Q2) determine A>B, A
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Related Questions
- Do not give answer in image and hand writingarrow_forwardFinding Standard SOP and K-Maps (see next page!) Convert each expression to standard SOP form: ( A + B)(C+B') ABD (4-term expression with A, B, C, D) A + BD (4-term expression with A, B, C, D)arrow_forwardI need the answer as soon as possiblearrow_forward
- (i)Electrical pulses can be varied to represent characteristics of an analog voice signal.Propose ONE (1) pulse modulation scheme to represent the voice digitalization signal.Defend why your proposal is the best and support your answer by illustrating theelectrical pulses waveform to represent an analog voice signal. (ii)Phase Shift Keying (PSK) demonstrates better performance than Frequency ShiftKeying (FSK). State your argument and draw a comparison waveform to illustrate theexamples of both shift keying method.arrow_forwardNumber 22arrow_forwardQ2) determine A>B, Aarrow_forwardarrow_back_iosarrow_forward_ios
Recommended textbooks for you
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,