How to fill wing movement in 3d?
Mostra commenti meno recenti
Hi,
I have a n-by-3 matrix of flapping wing tip path and a stationary base point (zeros(3,n)) - attached as 'wingtip.m'.
I want to use the 'fill3' function but I don't really understand how to use it in here.
I wish to fill the path in which the wing passes threw time.
The BAD way I did it so far is:
figure; hold on;
for i = 1:length(AA) % This is how the matrix in 'wingtip.m' is called
wing(1,1:3) = AA(i,1:3);
wing(2,1:3) = [0 0 0];
plot3(wing(:,1),wing(:,2),wing(:,3),'b','linewidth',10);
end
6 Commenti
darova
il 16 Giu 2019
DOesn't look like wing
load('wingtip.mat')
fill3(AA(:,1), AA(:,2), AA(:,3),'r')

Ziv Kassner
il 16 Giu 2019
darova
il 16 Giu 2019
What does it mean?
Ziv Kassner
il 17 Giu 2019
KSSV
il 17 Giu 2019
What coodinates correspond to wing?
Ziv Kassner
il 17 Giu 2019
Risposta accettata
Più risposte (1)
KSSV
il 17 Giu 2019
This is what you are looking for?
load 'wingtip.mat'
t = AA(:,1:3) ;
wing = AA(:,4:6) ;
patch(t(:,1),t(:,2),t(:,3))
Categorie
Scopri di più su Animation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!