Octave function of double

Viewed 26

So my problem is like this:

I have a function:

f= @(x) (1/(sqrt(5*x-2))

and i have a double:

a=0.5

And the only thing I want is a:

f(a)

But it has to be a Integer, Is there a way to make it work?

I have no idea what to do now, I need it for my script which is not important rn

0 Answers
Related