借助mathematicar製作線性變換動畫
if[length[names[
"`*"]]
>
0, remove[
"`*"]]
;(*複數與線性變換*
)z = e^
(i*\[theta]);
f =2 z;
g =3 z^2;
f + g // exptotrig
"齊次座標變換--機械臂dh運動鏈基礎"
subscript[t, x]
[ a_]:=
,,,}
subscript[t, y]
[ b_]:=
,,,}
subscript[t, z]
[ c_]:=
,,,}
rotationmatrix[\[theta],]
so[n_]:=
map[rotationmatrix[\[theta]
, #]&,
subsets[table[unitvector[n, i],]
,]];
= so[4]
;a[a_, \[theta]_]:=
subscript[t, y]
[a*sin[\[theta]]]
.subscript[t, x]
[ a*cos[\[theta]]]
.subscript[r, z]
[\[theta]];
(*a1=a[a1,\[theta]1]
;a2=a[a2,\[theta]2]
;subscript[t,2]
=a1.a2//simplify//matrixform*)
"test"
a1 = a[
3, t]
;a2 = a[2,
-t/2];
(*point1,point3,point2為齊次變換中提取的座標點*
)point1 = take[
transpose[a1],-
1].transpose[,}
]//
flatten // normal;
point2 = take[
transpose[a2],-
1].transpose[,}
]//
flatten;
point3 = take[
transpose[a1.a2],-
1].transpose[,}
]//
flatten;,,
epilog ->
,, #1}]
},]}
,,, norm[#1]]
}}, plotlabel ->],
]&[point1,
point3, point2]},
}(*匯出動畫*)(
*gragh=table[parametricplot[,,\
epilog\[rule]
,#1}]}
,]},
,,norm[#1]]
}},\plotlabel\[rule]]&
[point1,point3,point2],]
;export[
"複數與線性變換.gif"
線性空間與線性變換
1.1線性空間 廣義的概念 如何證明乙個向量集合是線性空間?1.首先問下什麼是線性空間?2.如何表示該集合中的全部向量?知識點1 首先我們需要知道什麼是空間?空間其實就是向量的集合,而什麼是線性空間呢?定義了線性運算的非空集合。線性運算指的是加法和數乘在非空集合v封閉。定義1.1 數域 乙個對和 差...
1 線性空間與線性變換
關聯 0 複習與引申 線性空間與線性變換是線性代數中最基本的兩個概念,它們分別是 n 維向量空間 f n 與線性變換 y ax 的推廣。線性空間的性質 求基和維數的一些例題 如題 在數域中,均為n維向量,那就讓每一位分別為1 就像構築座標軸那樣 於是維數就是n,基就是分別為1其餘為0的各個n維向量 ...
分段線性變換
分段線性變換 1 分段函式 為突出感興趣的目標或灰度區間,相對抑制不感興趣的灰度區域,可採用分段線性變換。這裡採用了乙個常用的三段線性變換 2 實現 影象的分段線性變換 日期 2014.09.23 function f piecewiselineartransform imgfile img imr...