Error in my integration process
Afficher commentaires plus anciens
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 commentaires
Ameer Hamza
le 27 Sep 2020
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
le 27 Sep 2020
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.
Réponses (0)
Catégories
En savoir plus sur Time-Domain Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!