# Matlab test for camup

2 messages
Open this post in threaded view
|

## Matlab test for camup

 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
Open this post in threaded view
|

## Re: Matlab test for camup

 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.000000000000000000.000000000000000001.00000000000000000>> camroll (30);>> p = camup ();>> fprintf ('%.17f\n', p);0.339696381296603730.020142383829981920.94031944194919104>> camroll (-30);>> p = camup ();>> fprintf ('%.17f\n', p);0.140338918393652620.182893239247699430.97306477226420207On Wed, Apr 4, 2018 at 8:58 PM, mmuetzel 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 peak.jpg (46K) Download Attachment