フィルターのクリア

define vectors in matlab

1 回表示 (過去 30 日間)
arash abdi
arash abdi 2018 年 1 月 23 日
回答済み: Mark Schwab 2018 年 1 月 25 日
hello, i would like to program a specific code, but i need some help, i will write part of it.
function [y_dot] = fcn(y) . . . q(1) = y(64:66); q(2) = y(67:69); q(3) = y(70:72);
for i=1:3
dot_q(i) = vec_cross(W(i),q(i));
end
q_dot=[dot_q(1);dot_q(2);dot_q(3)];
y_dot = [V0_dot;
omg0_dot;
X0_dot;
R_dot;
omg_dot;
W_dot;
q_dot];

回答 (1 件)

Mark Schwab
Mark Schwab 2018 年 1 月 25 日
In order to provide assistance, you will need to provide more information. Please add comments to your code to give us an idea of what is going on already and explain what you are trying to accomplish with your code.
Any additional information you could provide on your workflow will also be beneficial.

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by