Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parenthe
9 views (last 30 days)
Show older comments
rxSensitivity = -90; % Units: dBm
rxs = rxsite('RX',Balcova,Manisa,Kemalpasa,Karsiyaka,Guzelbahce ...
'Latitude',rxLocations(:,1),(:,2),(:,3),(:,4),(:,5), ...
'Longitude',rxLocations(:,1),(:,2),(:,3),(:,4),(:,5), ...
'Antenna',design(dipole,tx.TransmitterFrequency), ...
'ReceiverSensitivity',rxSensitivity); % Units: dBm
In this code i got this error in each row's apostrophes. How can i solve it. Thanks
1 Comment
Daniel Pollard
on 8 Jun 2021
rxLocations(:,1),(:,2),(:,3),(:,4),(:,5)
This syntax is not valid in Matlab. What are you trying to do?
Answers (1)
Jonas
on 8 Jun 2021
rxLocations(:,1) is valid, but after that you give just index with (:,2)
the variable is missing here, maybe it should be rxLocations(:,2) and so on
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!