Date: Feb 18, 2013 2:27 PM
Author: Elnaz Sadeghian
Subject: vector manipulation

Dear all,

I want to subtract all the elements of a vector from an scalar one-by-one to get a scalar and I want to avoid looping.
For example say I want to do 8-[1 2] to get 8-1-2=5.
How can I do that?

Elnaz