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 04:15:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Am 26.08.19 um 01:06 schrieb dg.aragones:
Thank you for your answer!

Yes, I did. However, I think I've written the code accordingly...



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


The error message says that

        error: trapz: X and Y must have same shape

You have written:

R=@(y) trapz(s,G(y))-1

Do s and G(y) have the same shape?




reply via email to

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