help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Maxima-discuss] dblquad fail


From: Ether Jones
Subject: Fwd: [Maxima-discuss] dblquad fail
Date: Wed, 27 Jul 2016 21:57:34 -0400

Hello.

I am trying to numerically integrate a function using dblquad, but getting errors shown below.  Thank you.

octave-3.6.4.exe:3> I = dblquad(@(r,q)r*sqrt(r^2+1-2*cos(2*pi()*q)),0,1,0,1)
error: for A^b, A must be a square matrix
error: evaluating argument list element number 1
error: called from:
error:    at line -1, column -1
error:    at line -1, column -1
error: quadcc: integrand F must return a single, real-valued vector
error:   K:\OctaveVS\share\octave\3.6.4\m\general\dblquad.m at line 72, column 10
error:    at line -1, column -1
error: quadcc: integrand F must return a single, real-valued vector
error:   K:\OctaveVS\share\octave\3.6.4\m\general\dblquad.m at line 65, column 5


reply via email to

[Prev in Thread] Current Thread [Next in Thread]