260 likes | 273 Views
This guide provides step-by-step instructions for using MATLAB in communication theory lab sessions. Topics covered include complex numbers, trigonometric and exponential functions, vectors, matrices, logical operators, conditionals, loops, and plotting. Notes on case sensitivity, variable naming, and commenting are included.
E N D
Communication Theory Lab 1 Prepared by: Eng. Nada Ayman
clc Clears command window
Clear all Clears workspace
Trignometric Functions: NB: X should be in radians
Conditionals: If Statements:
Notes: • Matlab is case sensetive which means that X is not equivalent to x. • Typing a ; at the end of every command means not to display the values in the command window after executing the command. • Typing a % before a command means it is a comment and the program will not execute it.