Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
8c882fb6
Commit
8c882fb6
authored
Dec 02, 2017
by
Jan-Gerrit Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added norm2 to itaCoordinates
parent
f39d5a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
kernel/ClassStuff/@itaCoordinates/norm2.m
kernel/ClassStuff/@itaCoordinates/norm2.m
+11
-0
No files found.
kernel/ClassStuff/@itaCoordinates/norm2.m
0 → 100644
View file @
8c882fb6
function
d
=
norm2
(
v1
)
% calculate the length of vectors
% <ITA-Toolbox>
% This file is part of the ITA-Toolbox. Some rights reserved.
% You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
% </ITA-Toolbox>
d
=
sqrt
(
v1
.
x
.^
2
+
v1
.
y
.^
2
+
v1
.
z
.^
2
);
end
%eof
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment