[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help w/fill function
From: |
Rik |
Subject: |
Help w/fill function |
Date: |
Wed, 17 Aug 2016 09:59:14 -0700 |
All,
Could someone try the following code with Matlab and report whether it
produces an error or not?
x = [0 0
1 0.5
1 0.5
0 0];
y = [0 0
0 0
1 0.5
1 0.5];
c = [1 2 3 4]';
fill (x,y, [c, c])
According to the documentation, if a column vector is used the result
should be expanded to the necessary matrix size, but it doesn't appear to
be happening that way in the dump_demos script. It looks like we need to
work around their documented, but unimplemented, behavior.
--Rik
- Help w/fill function,
Rik <=