Creating vectors with components

How do I create a 5-element column vector whose components are the squares of the elements of vector Row

2 个评论

Look at transpose and basic matrix operations
What do you want to do if the vector Row is not exactly 5 elements long ?

请先登录,再进行评论。

回答(1 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by