Azzera filtri
Azzera filtri

how to use tensors

75 visualizzazioni (ultimi 30 giorni)
Sergio Coury
Sergio Coury il 15 Lug 2020
Risposto: J. Alex Lee il 15 Lug 2020
Can I use Tensors with MATLAB? What are the functions to create, manipulate and perform tensor calculus?

Risposte (1)

J. Alex Lee
J. Alex Lee il 15 Lug 2020
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.

Community Treasure Hunt

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

Start Hunting!

Translated by