ヘルプ センターヘルプ センター
剛体変換を点に適用する
R2023b 以降
tpoints = transform(transformation,points)
tpoints = transform(rotation,points)
tpoints = transform(___,isCol=format)
tpoints = transform(transformation,points) は剛体変換 transformation を入力点 points に適用し、変換後の点 tpoints を返します。
tpoints
transformation
points
tpoints = transform(rotation,points) は回転 rotation を入力点 points に適用し、変換後の点 tpoints を返します。
rotation
tpoints = transform(___,isCol=format) は、前述の構文の入力引数に加えて論理フラグ format を使用して、入力点 points の予期される形式を列方向または行方向に設定します。
format
すべて折りたたむ
se2
se3
変換。スカラーの se2 オブジェクト、スカラーの se3 オブジェクト、あるいは変換オブジェクトの N 要素配列として指定します。N は変換の合計数です。
transformation を配列として指定する場合、各要素が同じタイプでなければなりません。
so2
so3
回転。スカラーの so2 オブジェクト、スカラーの so3 オブジェクト、あるいは回転オブジェクトの N 要素配列として指定します。N は回転の合計数です。
rotation を配列として指定する場合、各要素が同じタイプでなければなりません。
変換する点。N×D×M の配列として指定します。ここで、
D は変換の次元であり、2 次元の変換の場合は 2、3 次元の変換の場合は 3 として定義されます。
N は、変換する入力点の総数です。
M は、各点で実行する変換の合計数です。
2 次元の変換と回転の場合、各行は [X Y] の形式で点を指定します。3 次元の変換と回転の場合、各行は [X Y Z] の形式で点を指定します。
format を true として指定した場合、points を D×N×M の配列として指定する必要があります。ここで、各列は 1 点を示します。
true
データ型: single | double
single
double
false
0
1
点の形式。logical 0 (false) または 1 (true) として指定します。この引数を true に指定した場合は、points の点を列として指定する必要があります。それ以外の場合は、点を行として指定します。
例: isCol=true
isCol=true
データ型: logical
logical
変換後の点。N×D×M の配列として返されます。ここで、
D は変換の次元であり、2 次元の変換および回転の場合は 2、3 次元の変換または回転の場合は 3 として定義されます。
format を true として指定した場合、tpoints は D×N×M の配列として返されます。ここで、各列は 1 点を示します。
R2023b で導入
dist
interp
normalize
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office