Borrar filtros
Borrar filtros

why do I get this problem 'Attempt to execute SCRIPT integral as a function:'?

3 visualizaciones (últimos 30 días)

I integrate a function by using 'integral' command, and showing the problem as'Attempt to execute SCRIPT integral as a function:', How can I resolve it?

This is my function

'P_{Out}^{{\mathop{\rm Sec}\nolimits} } = 1 - {\left[ {\frac{1}{{{\Omega {RU1}}}}\int\limits{{T_1}}^\infty {\left\{ {\exp \left( {\frac{{ - \left( {\Delta - 1} \right)}}{{w\left( z \right){\Omega {U2R}}}} - \frac{z}{{{\Omega _{RU1}}}}} \right)} \right\}} dz} \right]^2}', where, '$z = {\left| {{h{RU1}}} \right|^2}$, $\Delta = {2^{2{R_{TH}}}}$, $w\left( z \right) = \left( {1 - \beta } \right)\left\{ {\frac{{\eta \beta {\rm{ }}Pz}}{{\eta \beta {\rm{ z }}{N_0} + {N_0}\left( {1 - \beta } \right)}} - \frac{{\Delta P}}{{\left( {1 - \beta } \right)Pz + {N_0}}}} \right\}$ \\ and ${T_1} = \frac{{\left( {\frac{{\Delta - 1}}{{1 - \beta }}} \right) + \sqrt {{{\left( {\frac{{\Delta - 1}}{{1 - \beta }}} \right)}^2} + \frac{{4\Delta P}}{{{N_0}\eta \beta }}} }}{{2\left( {\frac{P}{{{N_0}}}} \right)}}.$'

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Dic. de 2017
You accidentally have an integral.m file of your own. Use
which -all integral
to see where it is
  4 comentarios
Stephen23
Stephen23 el 11 de Dic. de 2017
Editada: Stephen23 el 11 de Dic. de 2017
@Shashibhushan Sharma: type this in the command line:
which -all integral
then push enter. It will list all files/functions on the MATLAB path with the name integral. You can use this to manage which files get called. Read the which help for more information.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by