オフセットを決めるためのfindの使い方
Mostrar comentarios más antiguos
床反力の数値を使って、膝関節の屈曲角度を計算する区間を決定するために接地時と離地時を定義しようとしています。
接地時(onset)のフレーム値はfind関数で求められたのですが、離地時(offset)のフレームを求めようとすると値が空白になってしまいます。
この場合どうすればよいのでしょうか?
Imeyev=find(force_vector>5,1,'first');%onsetのフレーム値を求める
Imeyev2=find(force_vector(Imeyev:end,:)<0,1,'first');%オフセットのフレーム値を求める
この式で今のところ計算しています。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre マルチボディ モデリング 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!