[CHANGESET] Re: Help with griddata3

António Santos ansantos at fe.up.pt
Wed Mar 12 12:39:00 CDT 2008


Ok,

I guess the problem is with the line:

[xi, yi, zi] = meshgrid (-0.8:0.2:0.8);

in the test code in the patch. I suppose it should be something like:

[xi, yi, zi] = meshgrid(-0.8:0.2:0.8, -0.8:0.2:0.8, -0.8:0.2:0.8);

Am I right?

Thanks,

António Santos

---

> António Santos wrote:
>>
>> I tried exactly the first test code in the patch and I get this:
>>
>> error: A(I, J) = X: X must be a scalar or the number of elements in I
>> must
>> error: match the number of rows in X and the number of elements in J must
>> error: match the number of columns in X
>> error: assignment failed, or no method for `matrix = matrix'
>> error: evaluating assignment expression near line 52, column 20
>> error: evaluating for command near line 41, column 3
>> error: called from `tsearchn' in file
>> `/home/ans/wgwps/hosp/temp/tsearchn.m'
>> error: evaluating if command near line 59, column 3
>> error: called from `griddatan' in file
>> `/home/ans/wgwps/hosp/temp/griddatan.m'
>> error: evaluating assignment expression near line 55, column 6
>> error: called from `griddata3' in file
>> `/home/ans/wgwps/hosp/temp/griddata3.m'
>> error: evaluating assignment expression near line 7, column 4
>>
>> Does it only work with Octave 3.0.0?
>>
>>
>>
>>
>>
> Apparently... It works fine with 3.1.x..
>
> D.
>
>
> --
> David Bateman                                David.Bateman at motorola.com
> Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
> Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
> 91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)
>
> The information contained in this communication has been classified as:
>
> [x] General Business Information
> [ ] Motorola Internal Use Only
> [ ] Motorola Confidential Proprietary
>
>






More information about the Help-octave mailing list