I want to use Matlab for my project. matlab has tensor toolbox and in it there are two types of tensor : Dens tensor and sparse tensor. my project is about " fiber orientation". how can i know what type is my tensor and use which one from tensor toolbox in Matlab. thanks for your attention
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
In general a sparse tensor is a tensor with many zeros whereas a dense tensor has no (or hardly any zeros.
So you could check for the number of non-zeros (