how to plot excel data in a polar graph?
Mostrar comentarios más antiguos
hello everyone , I have Cartesian values in an excel table and I want to plot them in a polar graph, I have transformed them into polar values and radian. by executing the code I have only the empty graph that appears. Help me please. here is the code I use.
dataset=xlsread('tabl.xlsx','tableau','D2:E131');
x=dataset(:,1);
y=dataset(:,2);
[t,r] = cart2pol(x,y),
x1=t*deg2rad;
y1=r*deg2rad;
polarplot(x1,y1,'g','markers',20);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Axis Labels en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!