Compute all third degree monomials out of a given vector
1 view (last 30 days)
Show older comments
Suppose you are given a vector ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222476/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222476/image.png)
How can one effieciently construct a vector containing all third degree monomials of the vector entries? That is a vector of dimension
containing the entries
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222477/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222478/image.png)
5 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!