help-octave
[Top][All Lists]
Advanced

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

Re: sqp() with trapz()


From: fibonacci4
Subject: Re: sqp() with trapz()
Date: Mon, 26 Aug 2019 19:13:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Am 26.08.19 um 19:07 schrieb address@hidden:
Am 26.08.19 um 18:25 schrieb dg.aragones:
Yes, they have the same size. It's weird...



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Please look at your code. Trapz expects two vectors of the same size.

You have the placeholder variable s (replace it by x since it can any name)

and then a function call. Are these two vectors of the same size?



Replace s by y in the answer.




reply via email to

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