How to plot many circle in 3D from array radius and different height?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nanthanon Visitpongaree
am 2 Nov. 2018
Bearbeitet: Nanthanon Visitpongaree
am 4 Nov. 2018
I have no idea about doing this. I did try so many ways.
4 Kommentare
Akzeptierte Antwort
KSSV
am 2 Nov. 2018
Bearbeitet: KSSV
am 2 Nov. 2018
[num,txt,raw] = xlsread('32 coils Parameters.xlsx') ;
th = linspace(0,2*pi) ;
x = cos(th) ;
y = sin(th) ;
figure
hold on
for i = 1:size(num) ;
xc = num(i,2)*x ;
yc = num(i,2)*y ;
zc = repmat(num(i,3),1,100) ;
plot3(xc,yc,zc)
end
view(3)
axis equal
7 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



