Creating a polar grid with values in each cell

Hi all,
I have a 14 by 15 data matrix with values between 0 to 1. I need to create a polar grid from 0 to 360 degrees with 15 circular lines and 16 angular lines creating a polar grid of 210 positions.
The grid should be something like that:
R=6000; %radius
S=15; %num circ.lines
N=16; %num ang.lines
sect_width=2*pi/N;
offset_angle=(deg2rad(11.25)):sect_width:2*pi-sect_width+deg2rad(11.25);
%------------------
r=linspace(0,R,S+1);
w=0:.01:2*pi;
clf %remove if needed
figure (1);
hold on
axis equal
for n=2:length(r)
plot(real(r(n)*exp(1i*w)),imag(r(n)*exp(1i*w)),'k--')
end
%
for n=1:length(offset_angle)
plot(real([0 R]*exp(1i*offset_angle(n))),imag([0 R]*exp(1i*offset_angle(n))),'k-')
end
Each column in the data matrix represents a different angle in the polar plot. In each of these cells I would like to assign a data matrix value. Visually I would like a colored representation for the values in the cells (from 0 to 1). It would have been preferable to have this plot on 3D as well.
Could anybody help me with this polar plot?
Best,
Akis

1 Comment

hi polychronis, Do you have an idea for generating the shape matrix from polar histogram? my question is on below link.

Sign in to comment.

Answers (0)

Categories

Asked:

on 4 Feb 2015

Commented:

on 28 Feb 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!