We're only going to throw you so many bones before we expect you to start reading the manuals and figuring out how to do this stuff.
In fact, just go read the manuals. No, you won't remember the details, but you'll probably remember enough to recognise that you might have read something like the answer to your problem before.
Then you go on a more detailed hunt to find exactly what you're looking for.
If you can remember roughly what each tool is capable of, then you can RTM to find out the detail when you need it.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...