LAB 1-5 Flashcards
(40 cards)
divide 144over12
144/12
devide 12 over 144 in two ways
12/144 or 144\12
the square root of a
sqrt(a)
output 1+8i
1+8j
find the absolute value of a
abs(a)
find the angle of a in degree
angle(a)
ans*180/pi
find the conjunction of a
conj(a)
find the imaginary part of a
imag(a)
out out the numbers from 1 to 4
1:4
output the odd numbers from 1 to 8
1:2:8
if g=1:4
output the numbers vertically
g(:)
from g=1:4
find the maximum value
max(g)
from g=1:4
find the minimum value
min(g)
from g=1:4
find the third value
g(3)
list the following numbers 1,5,9,3
h=[1 5 9 3]
how to show the following

subplot(2,1,1)
how to show the following

subplot(2,1,2)
round to the nearest integer toward zero
fix(a)
round to the nearest less than or equal to that element
floor(a)
round to the nearest integer greater than or equal to that element
ceil(a)
round to the nearest integer
round(a)
10^? = 100
log10(100)
find the exponential of a number
exp(a)
2 to the power of 3
2^3


