help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iterative summation using sum(), fails with ezmesh


From: Jordi Gutiérrez Hermoso
Subject: Re: Iterative summation using sum(), fails with ezmesh
Date: Tue, 08 Apr 2014 21:17:32 -0400

On Tue, 2014-04-08 at 20:53 +0200, Erik Leunissen wrote:

> Could somebody please explain why this is going wrong? Some directions 
> towards a remedy would be awesome.

Error messages are meaningful. Read them!

> error: _sumh: operator +: nonconformant arguments (op1 is 60x60, op2 is 1x9)
> error: evaluating argument list element number 1
> error: called from:
> error:   _sumh at line 30, column 5

The first part tells you where the error is. You are attempting to add
matrices of incompatible sizes.

Go edit that file at that line and column and figure out what's wrong.
Or insert a `keyboard` statement in there to go into debug mode and
understand what's wrong (`whos` to see what variables you have, `doc
dbstack` to learn more about how to use debug mode).

- Jordi G. H.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]