作成した単位ベクトル同士の関係を視覚的に確認する方法
Afficher commentaires plus anciens
膝の屈曲角度を単位ベクトル同士の角度(内積)で求めたのですが、角度が60~80度になり、明らかに動作時の角度より大きく計算されてしまいました。
ベクトル同士がしっかり計算されているか見るためにplot3で3次元グラフにしてみたいのですがどうすればよいのでしょうか?
このコードで確認すると写真のようにグラフが表示されます。
thighはそれぞれx、y、zの単位ベクトルになります。

plot3(thigh_x(i,:),thigh_z(i,:),thigh_y(i,:));
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur グラフィックス オブジェクトのプロパティ dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
