Error in my integration process
이전 댓글 표시
Hi Everyone;
I have the following equation:

And I coded it in MATLAB as:
X=ber.*PDF_H;
syms X
ABER=int(X,H,0,inf);
And I received the error message as:
Error using sym/int (line 165)
Unable to integrate with
respect to '0.00054377
0.00047858 0.00040719
0.00033482 0.00026625
0.00020517 0.0001537
0.00011241 8.0658e-05
5.7068e-05 4.0012e-05
2.7921e-05 1.9467e-05
1.3602e-05 9.5462e-06
6.7414e-06 4.7953e-06
3.4378e-06 2.4847e-06
1.8102e-06'. The integration
variable must be a symbolic
variable.
Error in Pointing_Error_14
(line 182)
ABER=int(X,H,0,inf);
Where is my mistake please?
댓글 수: 3
Ameer Hamza
2020년 9월 27일
These lines of code are not correct
X=ber.*PDF_H;
syms X
ABER=int(X,H,0,inf);
But without further information, it is not possible to suggest a solution. Can you tell how f_h and P_b are defined?
Steven Lord
2020년 9월 27일
We can't run what you've posted as several of the variables aren't defined. If you post the whole code that defines ber, and PDF_H we may be able to help you modify your code.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Time-Domain Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!