| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Communications Toolbox |
| Contents | Index |
| Learn more about Communications Toolbox |
y = qfunc(x)
y = qfunc(x) is one minus the cumulative distribution function of the standardized normal random variable, evaluated at each element of the real array x. For a scalar x, the formula is
![]()
The Q function is related to the complementary error function, erfc, according to
![]()
The example below computes the Q function on a matrix, element by element.
x = [0 1 2; 3 4 5]; format short e % Switch to floating point format for displays. y = qfunc(x) format % Return to default format for displays.
The output is below.
y = 5.0000e-001 1.5866e-001 2.2750e-002 1.3499e-003 3.1671e-005 2.8665e-007
qfuncinv, erf, erfc, erfcx, erfinv, erfcinv
![]() | qammod | qfuncinv | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |