Polar plot 0-180 degree with given data
이전 댓글 표시
Hey guys,
I need to generate polar coordinates and create this 'sensor beam' that would cover 0 to 180 degrees by 5 degree increase with values varying of (0.0x to 0.x). which means there is ~37 values.
댓글 수: 6
Saulius Janusauskas
2018년 8월 16일
Rik
2018년 8월 16일
So like this?
theta=0:5:180;
rho=rand(size(theta))/10;
polarplot(theta,rho)
Saulius Janusauskas
2018년 8월 16일
Rik
2018년 8월 16일
You should provide a clear description of your inputs and the intended output. My code shows you how to have 5 degree jumps. How doesn't that work for you? What code are you trying to apply it to your data? What errors are you getting?
Saulius Janusauskas
2018년 8월 16일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!