Skip to content
Advertisement

Divide a list by elements of another list

I want to divide a list error_variance_vector by an element in another list sigma_square1, such that it gives corresponding W element (w_i).

JavaScript

Here’s my attempt:

JavaScript

but I got an error message:

JavaScript

Advertisement

Answer

This should work:

JavaScript
Advertisement