ob-octave-test.org 1.1 KB

a collection of examples for ob-octave tests

Simple tests

Number output

ans = 10

Array output

ans = 1:4'

Input tests

Input an integer variable

ans = s

Input an array

ans = s

Input a matrix

ans = s

Input a string

ans = s(1:2)

Input elisp nil

ans = s

Graphical tests

sombrero;
sombrero;