What is Calq?
Latest version of Calq
Digital Wave Systems Lab homepage
Calq (as of v4.0) recognizes the following things
The following elements are broken into a few groups: functions, commands,
keywords, and symbols.
Functions take one or more parameters, and produce a result
that can be stored in a variable.
Commands may take zero parameters (e.g., ls, tic, toc, time, whos),
exactly one parameter (e.g., disp, load), or even
two parameters (e.g., params2).
Though commands produce output in the results text box, they do not
return data that can be stored in a variable.
Keywords are used to provide programming constructs, such as
for, while, and end. Other specialized words may appear as keywords,
like i, j, and pi, since they have predefined values.
Symbols provide arithmetic and logical operations.
Functions:
abs
acos
angle
asin
atan
call
ceil
conv
cos
det
dwt (recognized, but not fully implemented yet)
exp
eye
fft
fileread
fix
floor
ifft
imag
imread
input
inv
length
log
log10
log2
max
min
mod
num2str
ones
rand
real
reshape
round
sin
setsize
size
sqrt
str2num
strcat
sum
tan
transpose
zeros
Commands:
date
disp
imshow
load
ls
params (used for debugging)
params2 (used for debugging)
plot
plot2
tic
time
toc
whos
Keywords:
case
else
elseif
end
for
function
i
if
j
otherwise
pi
return
switch
while
Symbols:
+

*
.*
/
./
^
.^
'
.'
...
(
)
:
;
,
[
]
&&

~
<
<=
>
>=
=
==
%
 Michael Weeks, Copyright 20072014