What is the equivalence to Matlab code "sparse(1:3, [1 3 5], [11 12 13])" in Julia

What is equivalent to the below Matlab code in Julia. Which creates a sparse matrix of 1:3 rows and fills the elements in columns [1 3 5] (corresponding to rows 1:3) by [11 12 13]

>> sparse(1:3, [1 3 5], [11 12 13])

ans =

   (1,1)       11
   (2,3)       12
   (3,5)       13

have you tried to google or use the build-in help mode?

>help sparse
  sparse(I, J, V,[ m, n, combine])


  Create a sparse matrix S of dimensions m x n such that S[I[k], J[k]] = V[k]. The combine function is used to combine duplicates. If m and n are not specified, they are set to maximum(I) and
  maximum(J) respectively.
julia> sparse(1:3, [1,3,5], [11,12,13])
3×5 SparseMatrixCSC{Int64, Int64} with 3 stored entries:
 11  ⋅   ⋅  ⋅   ⋅
  ⋅  ⋅  12  ⋅   ⋅
  ⋅  ⋅   ⋅  ⋅  13
1 Like

Thank you very much!