[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bessel functions with octave
From: |
john |
Subject: |
bessel functions with octave |
Date: |
Wed, 17 Aug 2011 10:51:06 -0700 (PDT) |
Hi,
concerning my question from 16/08/2011, I did the following:
function y=bintegra(q);
global x
y=cos(x*(sin(q)));
endfunction;
when I run the program I got an error * no conform operator opt1 1x1 opt 2
13x1.
I changed the x with 3 and then it works.
How can I import the x in this function from the begin
input x=3 I used GLOBAL
Thank you
--
View this message in context:
http://octave.1599824.n4.nabble.com/bessel-functions-with-octave-tp3750721p3750721.html
Sent from the Octave - General mailing list archive at Nabble.com.
- bessel functions with octave,
john <=