Use the command for example:
quad( @(x) myfunc (x, 1, 2),0,1)
It outputs the quad integraion of myfunc from 0 to 1 with the argument a=1, b=2.
Use the command for example:
quad( @(x) myfunc (x, 1, 2),0,1)
It outputs the quad integraion of myfunc from 0 to 1 with the argument a=1, b=2.
Make sure the shell is not within the Anaconda environment. For example:
(base) chiao@kpchiao9600k-2204:/download/Octave/octave-8.2.0$ make
It gets the error:
...
uic: Unknown option 'qt'.
Being inside the Anaconda environment can lead to a make error as Anaconda has multiple "uic" options. These include:
./anaconda3/pkgs/pyqt-5.15.7-py310h6a678d5_1/lib/python3.10/site-packages/PyQt5/uic
./anaconda3/pkgs/qt-main-5.15.2-h327a75a_7/bin/uic
./anaconda3/lib/python3.10/site-packages/PyQt5/uic
./anaconda3/bin/uic
To resolve this error, make sure you are in a regular shell, outside of the Anaconda environment, before running the "make" command. For example
chiao@kpchiao9600k-2204:/download/Octave/octave-8.2.0$ make
The following octave commands:
produce the graph:
Delete the file: /usr/local/share/applications/www.octave.org-octave.desktop