[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: constructing a matrix from a vector
From: |
Martin Helm |
Subject: |
Re: constructing a matrix from a vector |
Date: |
Wed, 19 Oct 2011 13:30:00 +0200 |
Am Mittwoch, den 19.10.2011, 11:18 +0200 schrieb Francesco Potortì:
> octave> bsxfun(minus,a,b)
> error: Invalid call to minus. Correct usage is:
>
> -- Built-in Function: minus (X, Y)
>
You have to pass a function handle, as you write it you call the
function minus without arguments
bsxfun(@minus,a,b)
is correct
Re: constructing a matrix from a vector, Alasdair McAndrew, 2011/10/19