shortProblem.m
%1. Scalar variables.
a=10;
b=2.5*10^23;
c=2+3i;
d=exp(i*2*pi/3);
%2. Vector variables.
aVec=[3.14 ,15, 9, 26];
bVec=[2.71; 8; 28; 182];
cVec=[5:-0.2:-5];
dVec=logspace(0,1,101);
eVec=['H' 'e' 'l' 'l' 'o'];
%3. Matrix variables.
aMat=ones(9,9)*2;
bMat=diag([1,2,3,4,5,4,3,2,1]);
cMat=reshape([1:1:100],10,10);
dMat=nan(3,4);
eMat=[13 -1 5;-22 10 -87];
fMat=randi([-3:3],3,5);
%4. Scalar equations.
x=1/(1+e^(-(a-15)/6));
y=(a^(0.5)+b^(1/21))^pi;
z=log(real((c+d)*(c-d))*sin(a*pi/3))/(c*conj(c));
%5. Vector equations.
xVec=1/(2*pi*2.5^2)^0.5*exp(-cVec.^2/(2*2.5^2));
yVec=((aVec').^2+bVec.^2).^0.5;
zVec=log10(1./dVec);
%6. Matrix equations.
xMat&