{"id":50628,"date":"2026-02-21T13:52:57","date_gmt":"2026-02-21T13:52:57","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=50628"},"modified":"2026-02-21T13:52:57","modified_gmt":"2026-02-21T13:52:57","slug":"octave-11-1-0-released-with-11-new-functions-better-hidpi-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/02\/octave-11-1-0-released-with-11-new-functions-better-hidpi-support\/","title":{"rendered":"Octave 11.1.0 Released with 11 New Functions &#038; Better HiDPI Support"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-42801\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>GNU Octave, the free open-source scientific programming language, released new major 11.1.0 version yesterday.<\/p>\n<p>This is the first release in version 11, that introduced many new functions, performance improvements, and some UI changes.<\/p>\n<p><!--more--><\/p>\n<p>First, the new version updated the user interface with new <i>Editor Files<\/i> tab for the built-in File Browser, option to toggle start-up splash screen, and option for using the directory of the currently focused editor file instead of the current Octave directory as the initial folder for the Open File dialog.<\/p>\n<p>The &#8220;Find File&#8221; dialog now provides most recently used lists for input fields and has the ability to search for\/in several file patterns at the same time. And, it now uses SVG icons for better scaling support, especially on Hi-DPI screens.<\/p>\n<p>The GUI now uses the default Octave command prompt, and, user can simply run <code>PS1 ('>> '); PS2 ('')<\/code> to revert back to the previous one.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50630\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11-700x435.webp\" alt=\"\" width=\"610\" height=\"379\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11-700x435.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11-768x478.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11-1320x821.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/02\/octave11.webp 1524w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Octave in the release introduced 11 new functions. They are:<\/p>\n<ul>\n<li><code>_Exit<\/code> &#8211; exit the currently running process with specified (optional) exit code.<\/li>\n<li><code>assert_equal (OBSERVED, EXPECTED)<\/code> &#8211; produce an error if observed is not the same as expected.<\/li>\n<li><code>corrcov<\/code> &#8211; convert matrix of covariance coefficients to a matrix of correlation coefficients.<\/li>\n<li><code>dither<\/code> &#8211; quantize an image using dithering to increase the apparent color resolution.<\/li>\n<li><code>funm<\/code> &#8211; evaluate a general matrix function.<\/li>\n<li><code>mape<\/code> &#8211; compute the mean absolute percentage error between arrays.<\/li>\n<li><code>rms<\/code> &#8211; compute the root mean square of the input data X.<\/li>\n<li><code>rmse<\/code> &#8211; compute the root mean squared error between arrays.<\/li>\n<li><code>trexc<\/code> &#8211; reorder the Schur factorization using LAPACK function \u2018ZTREXC\u2019<\/li>\n<li><code>xline<\/code> &#8211; create vertical lines at x-coordinates.<\/li>\n<li><code>yline<\/code> &#8211; create horizontal lines at y-coordinates.<\/li>\n<\/ul>\n<p>Besides new functions, there are also many improvements to the existing functions. <code>sum<\/code>, <code>cumsum<\/code>, <code>sumsq<\/code> now have up to 6x performance improvements. <code>norm<\/code> <code>fzero<\/code> are now more accurate. And <code>randi<\/code> has been rewritten with 4.5x faster and 3.5x less memory than before.<\/p>\n<p>As well, <code>polyfit output s.X<\/code>, <code>octave::math::x_nint<\/code>, <code>octave::math::isinteger<\/code> are now deprecated and will be removed in version 13. <\/p>\n<p>The <code>OCTAVE_LATEX_DEBUG_FLAG<\/code> environment variable has been renamed to <code>OCTAVE_LATEX_DEBUG<\/code>, <code>QTHANDLES_DEBUG<\/code> has been renamed to <code>OCTAVE_QTHANDLES_DEBUG<\/code>. And, the functions that were deprecated in Octave 9 have been removed from this version 11.<\/p>\n<p>Other changes in the release include:<\/p>\n<ul>\n<li><code>pkg install<\/code> command now automatically determines whether target is a local file, a URL, or an unqualified package.<\/li>\n<li>New <code>pkg search<\/code> command with regular expressions support.<\/li>\n<li>Convolution of short and wide arrays is faster from 10% to 150X.<\/li>\n<li>Print to PDF is now ~25% faster.<\/li>\n<\/ul>\n<p>For more about the new release, see the NEWS file in the source tarball (see the link below).<\/p>\n<h3>Get GNU Octave 11.1.0<\/h3>\n<p>The source tarball is available to download at GNU website via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/ftp.gnu.org\/gnu\/octave\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download GNU Octave (source)<\/a><\/div>\n<\/div>\n<p>Besides building from the source, Arch Linux has already include the new release in the official Extra repository. While other Linux may keep an eye on the community maintained <a href=\"https:\/\/flathub.org\/en\/apps\/org.octave.Octave\" target=\"_blank\">Flatpak package<\/a> that runs in sandbox.<\/p>\n<p>For Ubuntu users who prefer the native <code>.deb<\/code> package, I&#8217;ve made the new release package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/octave\/\" target=\"_blank\">unofficial PPA<\/a> for Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 25.10, though without testing.<\/p>\n<p>To add the PPA and install Octave 11.1.0, open terminal (Ctrl+Alt+T) and run commands below one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/octave<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install octave<\/pre>\n<h3>Uninstall:<\/h3>\n<p>To uninstall the .deb package, use command:<\/p>\n<pre>sudo apt remove octave octave-common<\/pre>\n<p>And, use the command below to uninstall the PPA:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/octave<\/pre>\n<p>For Linux Mint, also run <code>sudo apt update<\/code> to manually refresh package cache afterward.<\/p>","protected":false},"excerpt":{"rendered":"<p>GNU Octave, the free open-source scientific programming language, released new major 11.1.0 version yesterday. This is the first release in version 11, that introduced many new functions, performance improvements, and some UI changes.<\/p>\n","protected":false},"author":1,"featured_media":42801,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[2086],"class_list":["post-50628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-programming"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=50628"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/50628\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/42801"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=50628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=50628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=50628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}