Here you can check out what is already available and ready to use in demo version of SmartLab.
All basic operators are pretty much there:
- Matrix arithmetic operations (+, -, *, .*, /, ./, \, .\, ^, ‘).
- Logical operations (&, |, ~, &&, ||).
- Relational operations (<, <=, >, >=, ==, ~=).
These include matrix multiplication and solving linear equations solvers which are all optimized for modern CPUs, and use multiple CPU cores, SSE and AVX instructions.
Core language features
- Control flow: if and switch statements.
- Control flow: while and for loops.
- Control flow: break, continue, return.
- User defined functions and sub-functions (local functions). nargin, nargout.
- Anonymous, nested and private functions are not supported for now.
- Multidimensional arrays/matrices. Dimensionality of a matrix is limited by user memory.
Supported types are double, single, int8, int16, int32, int64, uint8, uint16, uint32, uint64, logical, char, Complex.
- Matrix utility functions: size, length, isvector.
- Matrix creation functions: zeros, ones, eye, Inf, NaN, pi.
- Reduction functions: min, max, sum, mean, prod, sort.
- Various math: abs, sqrt, exp, expm1, log, log10.
- Trigonometric: cos, sin, tan, acos, asin, atan.
- Hyperbolic: cosh, sinh, tanh, acosh, asinh, atanh.
- Special math: erf, erfc, normcdf, erfinv, erfcinv, gamma, expint.
- Rounding: floor, ceil, round, fix.
- Working with complex numbers: imag, real, conj, complex, isreal, angle.
- Floating point specific: isnan, isinf, isfinite, eps.
- Matrix inversion: inv.
- Various: find, error, linspace, logspace, meshgrid, norm, mod.
- Measure time: tic, toc.
- Randomize numbers: rand, randn.
- Work with variables: clear, who, whos, display, disp.
- Manipulate folders: pwd, cd, ls, dir.
- Execute function by name: feval.
- Argument checks: narginchk, nargoutchk.
- Load save images: imread, imwrite.
- Display the image: imshow, figure.
- Histogram: imhist.
- Convolution: imfilter, conv, conv2, fspecial.
- Manipulation: histeq, imadjust.
- FFT: fft, ifft, fft2, ifft2, fftshift.
- Resize: imrescale.
- Create figure: figure.
- Charting: stem, plot, surf, contour, bar.
Example of using plot:
plot([27 28 29 50]);
Please leave a reply in comments section; tell us what would you like to see next in SmartLab, and stay tuned for more :).