User Tools

Site Tools


mathematik:computer:octave

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mathematik:computer:octave [2023/03/29 12:19] – created msmathematik:computer:octave [2023/03/29 12:20] (current) ms
Line 10: Line 10:
 apt install octave-signal apt install octave-signal
 </code> </code>
 +<code>
 +octave:1> P = [25 22 22 20 20 20 18 18 18 18 18 15 15 15 10];
 +octave:2> s = mean(P)
 +s = 18.267
 +octave:3> srms = rms(P)
 +error: 'rms' undefined near line 1, column 1
  
 +The 'rms' function belongs to the signal package from Octave Forge which
 +you have installed but not loaded.  To load the package, run 'pkg load
 +signal' from the Octave prompt.
 +
 +Please read <https://www.octave.org/missing.html> to learn how you can
 +contribute missing functionality.
 +octave:4> pkg load signal
 +
 +octave:5> srms = rms(P)
 +srms = 18.597
 +</code>
mathematik/computer/octave.1680085159.txt.gz · Last modified: 2023/03/29 12:19 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki