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 )
lengthMATLABmatrizsomatório
Best Answer