How to resolve error showing 'Unexpected matlab expression'?????
5 ビュー (過去 30 日間)
古いコメントを表示
I am getting an error as Unexpected matlab expreesion; but i am neither be able to find out which expreesion is wrong and nor be able to resolve this error. Please help me...
3 件のコメント
Ramya M S
2017 年 2 月 10 日
??? Error: File: aesinit.m Line: 1 Column: 35 Unexpected MATLAB expression.
回答 (2 件)
Jan
2013 年 7 月 28 日
Open the file in the editor and look for red MLint marks on the right side.
0 件のコメント
Deva
2024 年 8 月 21 日
Pr_two_ray = Pt * (Gt * Gr * (transmitterHeight * receiverHeight)^2) ./ (distance.^4 * L);
2 件のコメント
Walter Roberson
2024 年 8 月 21 日
I do not see any problems with that code.
Pt = rand();
Gt = rand();
Gr = rand();
transmitterHeight = rand();
receiverHeight = rand();
distance = rand();
L = rand();
Pr_two_ray = Pt * (Gt * Gr * (transmitterHeight * receiverHeight)^2) ./ (distance.^4 * L)
Voss
2024 年 8 月 21 日
Make sure Pt is defined before you try to use it.
Gt = rand();
Gr = rand();
transmitterHeight = rand();
receiverHeight = rand();
distance = rand();
L = rand();
Pr_two_ray = Pt * (Gt * Gr * (transmitterHeight * receiverHeight)^2) ./ (distance.^4 * L);
参考
カテゴリ
Help Center および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!