Error - not enough input arguments, error in qfunc

Hi I'm trying to input an equation to calculate eb/no. the equation to use is:
P_b = 10^-6
ebNo=0.5*((qfunc^-1)*(P_b))^2
When I run this script I get the error:
Not enough input arguments.
Error in qfunc (line 17)
if (~isreal(x) || ischar(x))
Error in Comms_Principles (line 22)
ebNo=0.5*((qfunc^-1)*(P_b))^2;
I'd be grateful for any assistnace.

 채택된 답변

drummer
drummer 2022년 11월 7일

1 개 추천

well, you should input a variable for qfunc as you can see here.
You have no argument in your function, that's why you're getting such error.
Cheers.

댓글 수: 2

Thanks for the steer, all sorted. Still a MATLAB beginner... clearly
Nice! Could you kindly accept the answer? Cheers.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

질문:

2022년 11월 7일

편집:

2022년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by