Undefined function or variable 'drawCircle'.
5 次查看(过去 30 天)
显示 更早的评论
Hi, I have some problem with drawCicle. Here is the code.
% draw tier 1 and tier 2 circles
drawCircle(baseStation.x, baseStation.y, tier1Radius, 100, 'r--');
drawCircle(baseStation.x, baseStation.y, tier2Radius, 100, 'b--');
And the error is:
*Undefined function or variable 'drawCircle'.*
Can someone help me out?
0 个评论
采纳的回答
Walter Roberson
2018-8-3
drawCircle is not a MATLAB function. It appears to be an Octave function.
Also, there is an implementation of a drawCircle function at https://www.mathworks.com/matlabcentral/answers/20077-counting-plots-on-a-figure
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!