| Hosted by CoCalc | Download
octave2 = jupyter('octave')
[removed]
%octave2 x = -10:0.1:10; plot (x, sin (x));
Out [1]:
%octave2 randn(10)
Out [2]: ans = Columns 1 through 6: -1.6270816 0.8259583 1.8008659 0.2175127 -0.6855264 0.5452617 -0.0128418 0.1658316 -0.1916049 -0.5868565 0.9204796 -1.6766612 -0.5646155 -0.6174214 -1.2329483 1.1376594 0.3094357 -0.3738541 1.4035095 -0.8398618 -0.7407666 0.7803287 0.8284594 1.0646726 0.6567299 0.5160150 -0.4954299 -1.9569229 -0.3480933 -0.4925898 0.7667384 -1.6338943 0.1155558 -0.5650950 -0.3779098 -1.1333274 2.1116624 1.1857309 -0.2760580 0.8382920 0.3388891 -1.9817358 -1.3074312 -1.2619905 2.1415435 -2.0890218 -0.7937043 1.1060839 -0.0093194 1.2282934 0.0411713 0.5262287 -2.3787770 -1.5828321 -0.6631873 1.0104010 -1.0063112 0.1326764 -1.0765801 0.6570681 Columns 7 through 10: -0.4029159 -0.8938611 -1.0211416 1.6261932 0.7310209 0.5565887 -1.1308057 2.3762608 0.0200491 -0.1433714 -1.2890391 -0.3718171 0.7386599 0.9444830 -0.8961580 0.5846748 0.0041019 -0.2349750 0.9376345 1.7115472 -1.0201655 -0.5343038 0.4252434 0.2526837 -1.4763516 1.5924133 0.7227943 -0.8065313 -3.1126414 -0.0506866 -0.2748946 0.6178795 -0.4487148 0.0462266 -0.3083281 0.0026717 1.9203808 0.2859314 -0.3387952 0.3803933