What does "Lv" mean? I don't know what the L is for.
2 views (last 30 days)
Show older comments
bobsoney bobsoney
on 2 Dec 2018
Commented: Walter Roberson
on 2 Dec 2018
Below is how I wanted to solve the problem, below that is how it is supposed to be solved. What is that "Lv"? Length?
v= v( v>0 )
x= length( v )
totalsum = sum( v .* sum( A( :, x) ) )
Given a matrix A( m x n ) and a vector v( 1 x n )

0 Comments
Accepted Answer
Walter Roberson
on 2 Dec 2018
"logical" . A logical vector is built and used to index arrays
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!