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!