• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer

GitopsCentral

  • Home
  • Courses
  • Roadmap
  • About
  • Log In
  • Sign Up

how to install octave on linux

November 18, 2018 by shaik zillani

gnu-octave

In this blog post I will show you how to install octave

Introduction

GNU Octave is software featuring a high-level programming language, primarily intended for numerical computations. Octave helps in solving linear and nonlinear problems numerically. And also, for performing other numerical experiments using a language that is mostly compatible with MATLAB.

It is one of the major free alternatives to MATLAB, others being Scilab and FreeMat. Scilab, however, puts less emphasis on (bidirectional) syntactic compatibility with MATLAB than Octave does.

Octave is provided by linux distros in their package managers, use apt-get or debian linux and yum for rpm linux.

Ubuntu or kali linux


apt-get update

apt-get install octave

Fedora or red hat linux


yum install octave

octave-install

If everything went fine, you should be able to run octave from your command line, just type octave in your terminal.

octave-launch

Please note that this is CLI & you can run all kinds of MATLAB commands here. Let’s try to plot sin function using below commands.


x = -10:0.1:10;
y = sin (x);
plot (x, y);

octave-sin-plot

Launching Octave with GUI

This is easier than I thought, you simply have to enforce it to launch GUI by passing it the arguments, “–force-gui”


octave --force-gui

octave-gui

matlab,  octave install,  kali linux,  linux,  matlab,  octave,  plotting,  ubuntu

Primary Sidebar

en English
ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanhi Hindiid Indonesianit Italianja Japanesems Malaypt Portugueseru Russianes Spanishte Telugu

Course Tags

concurrency free go golang

Recent Posts

  • Roadmap to Mastery
  • Increase SSH connection timeout
  • Check Certificate expiry in Kubernetes
  • space invaders in golang
  • creating kubernetes cluster using eksctl
  • Facebook
  • GitHub
  • YouTube

Contact

Navigation

  • goacademy pro

Footer

  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

info@gitopscentral.com


+91 8341443220

© Copyright 2016-2024 gitopscentral · All Rights Reserved ·