Scalar variables. Make the following variables
1. Scalar variables. Make the following variables
a. a = 5
b. b = 2.5 ×1023
c. c = 1 + 2i, where i is the
imaginary number
d. d = e j 4π /6, where
j is the imaginary number and e is Euler’s number (use exp, pi)
clc;
close all
clear all
a = 5
b = 2.5*10^23
c = 1 + 2i
d = exp(j*4*pi/6)
Comments
Post a Comment