octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab test for camup


From: Himanshu Bhadani
Subject: Re: Matlab test for camup
Date: Wed, 4 Apr 2018 21:25:29 +0530

Hello Markus,

Below is the output of your script from matlab2017b and one attachment of figure.

>> close all
>>hf = figure;
>> peaks();
 
z =  3*(1-x).^2.*exp(-(x.^2) - (y+1).^2) ...
   - 10*(x/5 - x.^3 - y.^5).*exp(-x.^2-y.^2) ...
   - 1/3*exp(-(x+1).^2 - y.^2)
 
>> p=camup();
>> fprintf ('%.17f\n', p);
0.00000000000000000
0.00000000000000000
1.00000000000000000
>> camroll (30);
>> p = camup ();
>> fprintf ('%.17f\n', p);
0.33969638129660373
0.02014238382998192
0.94031944194919104
>> camroll (-30);
>> p = camup ();
>> fprintf ('%.17f\n', p);
0.14033891839365262
0.18289323924769943
0.97306477226420207



On Wed, Apr 4, 2018 at 8:58 PM, mmuetzel <address@hidden> wrote:
Hi!

Can someone with access to a recent Matlab please run the following code and
post the results?

close all
hf = figure;
peaks ();
p = camup ();
fprintf ('%.17f\n', p);
camroll (30);
p = camup ();
fprintf ('%.17f\n', p);
camroll (-30);
p = camup ();
fprintf ('%.17f\n', p);


Thank you.

Best
Markus




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html


Attachment: peak.jpg
Description: JPEG image


reply via email to

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