planeProjection

バージョン 1.2.0 (1.64 KB) 作成者: Seth Wagenman
Project a vector onto a plane defined by a normal vector.
ダウンロード: 48
更新 2020/8/5

ライセンスの表示

Given a vector/matrix and a vector/matrix of vectors normal to any plane in the same linear space, project the vector(s) onto the plane(s) defined by the normal vector(s). Return the coordinates of the new projected vector(s). Written by Seth B. Wagenman, based on Taylor Thullen's code and the following web link: https://www.maplesoft.com/support/help/Maple/view.aspx?path=MathApps/ProjectionOfVectorOntoPlane

引用

Seth Wagenman (2024). planeProjection (https://www.mathworks.com/matlabcentral/fileexchange/78303-planeprojection), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2019b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0

Made 3-D orientation checks more robust and used unit3DNonZeroVectorByRow instead of prior version of that function by same author.

1.1.1

Consolidated initial error-checking of arguments, cleaned up code and added more comments.

1.1.0

Removed requirement to pass unit normal vector; OK to pass any normal vector because it will be normalized in the function. Also edited calculation of projected image to form originally coded by Taylor Thullen.

1.0.3

Check for unit length applies to matrices of vectors passed in second argument now. Also added error for case when a 3x3 matrix is passed, preventing determination of which dimension is the spatial one.

1.0.2

added semicolon to suppress output

1.0.1

added absolute value to line checking for unit length of normal vector

1.0.0