File Exchange

image thumbnail

Transformation matrix for stress and strain

version 1.0.0.0 (4.17 KB) by pezhman moradi
Transformation Matrix

4 Downloads

Updated 24 Dec 2015

View License

transform matrix 3D-tensor (Euclidean or Cartesion tensor) of any order (>0) to another coordinate system
%
% arguments: (input)
% intensor - input tensor, before transformation; should be a 3-element
% vector, a 3x3 matrix, or a 3x3x3x... multidimensional array, each
% dimension containing 3 elements.
%
% Tranmatrix - transformation matrix, 3x3 matrix that contains the direction
% cosines between the old and the new coordinate system.
%
% arguments: (output)
% otr - output tensor, after transformation; has the same dimensions as the input tensor.

Comments and Ratings (1)

Nayan Rawat

Error showing in r2016a:
>> run('C:\Users\nayan\Desktop\mos project\transform_matrix\transform_matrix.m')
Error using transform_matrix (line 53)
Not enough input arguments.

Error in run (line 96)
evalin('caller', [script ';']);

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux