Convert 1-element Vector{Float64} in Float

Hi I want to convert a vector of 1 element, to a Float64, how to do itfloat

use only or first to extract the element from the vector. That said, you should generally use Vectors instead of a 1xn Matrix

1 Like

Or you can just directly index the element:

cargas_aplica[begin, 2]
2 Likes