how to use tensors

83 次查看(过去 30 天)
Sergio Coury
Sergio Coury 2020-7-15
Can I use Tensors with MATLAB? What are the functions to create, manipulate and perform tensor calculus?

回答(1 个)

J. Alex Lee
J. Alex Lee 2020-7-15
this is a bit imprecise, but if you mean "order 2 tensor", it can be represented as a 2D matrix. Order 3 tensor is then 3D matrix, and order n tensor is a nD matrix. A vector is a first order tensor, and a scalar is a zeroth order one. so you could say matlab is natively a tensor math framework.
As for the calculus bit, once you commit to numerical calculus, matlab is well-suited because it becomes simply matrix algebra (after applying some discretization method of choice).
I'm not sure if tools like the symbolic math toolbox let you do analytical tensor calculus.

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by