View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

3.75
3.8 | 8 ratings Rate this file 309 Downloads (last 30 days) File Size: 1.83 MB File ID: #59085 Version: 2.40

Cleve Laboratory

by

Cleve Moler (view profile)

 

21 Oct 2016 (Updated )

A mathematical exploratorium.

| Watch this File

File Information
Description

See Cleve's Corner in 2016 MathWorks News & Notes,
https://www.mathworks.com/company/newsletters/articles/introducing-cleves-laboratory.html.
And see Cleve's Corner blog,
http://blogs.mathworks.com/cleve/2017/01/05/fitting-and-extrapolating-us-census-data,
http://blogs.mathworks.com/cleve/2017/01/23/ulps-plots-reveal-math-function-accuracy,
http://blogs.mathworks.com/cleve/2017/02/06/patience-chinese-rings-puzzle.
http://blogs.mathworks.com/cleve/2017/03/20/morse-code,-binary-trees-and-graphs.
Version 2.40 has several new explorations and significant tweaks to several of the version 1.0 explorations.
Explorations:
 * Logo Waves
 * Eigshow
 * Expshow
 * Eigenwalker
 * Fern
 * Tumbling Box
 * Orbits
 * Double Pendulum
 * Lorenz Chaotic Attractor
 * Strang's House
 * Flame
 * Water Wave
 * Mandelbrot
 * Golden Spiral
 * Game of Life
 * Sudoku
 * Möbius
 * Predator-Prey
 * Durer's Magic Square
 * Crossed Ladders
 * . . . and more.

Acknowledgements

Numerical Computing With Matlab and Experiments With Matlab inspired this file.

Required Products MATLAB
MATLAB release MATLAB 9.2 (R2017a)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (17)
22 Mar 2017 Cleve Moler

Cleve Moler (view profile)

Hi Matthew --
Sorry you are having difficulty with Cleve's Laboratory. But I'm afraid that I do not understand the nature of the problem. Could you please tell me what's wrong.
Thanks.
-- Cleve

Comment only
21 Mar 2017 Matthew

This submission currently(!) deserves a one star rating. One the surface, it appears that no thought has been given to the end-users. For example, required products: MATLAB. No. That is not the case for the submitted code.

Attempts (one or more) were made back in November 2016 to fix these problems. Doesn't this mess prove the inadequacy of MATLAB's dependency analysis and FEX submission processes?

17 Mar 2017 Kamil Wojcicki

Kamil Wojcicki (view profile)

24 Jan 2017 Yuri Dreizin

The latest Matlab Release offered for downloading wth my home license (ydreizin@gmail.com) was
Matlab 2016a, while the app requires 2016b.
When 2016b will be available?
Another problem:
When I tried to install 2016a (to try the app on it) and verified my license, I ran into another issue:
installation dialog of 2016a required to install a curve fitting toolbox (3.5.3 if I remember right). It did not allow me to uncheck it from the list of toolboxes to be downloaded (when I tried the NEXT button dimmed), but when I did leave it checked and tried to proceed, the next subdialog said that Matlab 9.0 is required, asking me to provide a path for it. But I think Matlab 9.0 is just another name for 2016 release which I tried to install (I do have 2014 and 2015 releases on my PC). So the installation procedure seems to create a vicious circle. Please help

Comment only
23 Jan 2017 Nathan Fitzgerald

Maybe I don't understand how to download apps, but I can't get this to run out of the box on Matlab R2015b. This is what I did:

- Clicked "Add-Ons" from the Home ribbon to open the add on explorer
- Searched for "Cleve" in the explorer, installed "Cleve Laboratory", agreed to the software agreement etc. Everything appeared to be installed with no obvious warnings.
- Typing "CleveLaboratoryApp" yields "Undefined function or variable 'CleveLaboratoryApp'."

- If I go the addon manager and "Open Folder", then type CleveLaboratoryApp, I get
Error using nargout
Function lab1 does not exist.

Error in CleveLaboratoryApp/startApp (line 58)
if nargout(@lab1) == 0

Error in CleveLaboratoryApp (line 38)
startApp(obj)

Is this some problem with the app install process where paths to functions like lab1.m are not getting addpathed? Or am I missing something? The help for CleveLaboratoryApp.m is pretty sparse, so it's hard to tell if I'm doing something wrong with syntax.

Comment only
23 Jan 2017 Rance Fortenberry

Tried installing latest but still failed with same error as Karl's:

com.mathworks.jmi.MatlabException: Failed to extract Matlab app file 'C:\Users\rfortenberry\AppData\Local\Temp\Temp1_Cleve Laboratory.zip\Cleve Laboratory.mlappinstall' to '\\fs1\Users\rfortenberry\My Documents\MATLAB\Apps\CleveLaboratory' with error: Error in parsing xml file. Details: 'unexpected end of input'
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1710)
at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197)
at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:20)
at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:7)
at com.mathworks.appmanagement.AbstractAppManagementMatlabWorker.runOnMatlabThread(AbstractAppManagementMatlabWorker.java:21)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)

Comment only
23 Jan 2017 Mark Knecht

This app hung during installation in Gentoo Linux so I killed Matlab to get control again. Will try again later.

07 Dec 2016 fenghaifeng123

this is helpful for me to understand
how to use matlab efficient

07 Dec 2016 S LIU

S LIU (view profile)

I need

18 Nov 2016 Cleve Moler

Cleve Moler (view profile)

I have updated this contribution, fixing the install problem, eliminating the call to imresize (the Image Processing Toolbox is on my path, but no everbody's), and adding Crossing Ladders to lab2.
-- Cleve

Comment only
10 Nov 2016 hicham gheddou

verry good

01 Nov 2016 Karl Rudnick

I believe the apostrophe only caused an error when, on Windows 10, I double-clicked the file to both fire up Matlab and run the add-on install file. The fileparts function had trouble parsing. After I repaired it, I still get the same error message. Do I need to upgrade from R2014b home? I'm retired now and like to minimize expenditures upgrading everything I pay for.

Comment only
01 Nov 2016 Cleve Moler

Cleve Moler (view profile)

Did Karl discover that the apostrophe in Cleve's Laboratory is causing trouble with the app install? I'm not sure and will investigate.

Dan did discover that imresize in Durerperm comes from the Image Processing Toolbox, which is on my path, but not everybody's. I will repair that.

Thanks for comments.

-- Cleve

Comment only
01 Nov 2016 Dominik

31 Oct 2016 Karl Rudnick

Will not install in my Home version : 8.4.0.150421 (R2014b)
I first had to remove apostrophes in the mlappinstall path name, but then I get this error message:
com.mathworks.jmi.MatlabException: Failed to extract Matlab app file 'C:/Users/karl/Documents/MATLAB/ClevesLaboratory/Cleve's Laboratory.mlappinstall' to 'C:/Users/karl/Documents/MATLAB/Apps/ClevesLaboratory - 5' with error: Error in parsing xml file. Details: 'unexpected end of input'
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1622)
at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197)
at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:20)
at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:7)
at com.mathworks.appmanagement.AbstractAppManagementMatlabWorker.runOnMatlabThread(AbstractAppManagementMatlabWorker.java:21)
at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)

Comment only
31 Oct 2016 Dan Schult

I can't start this app. An error message appears while loading durerperm thumbnail icon:
Undefined function or variable 'imresize'.
Error in thumbnails1 (line 137)
x = imresize(X,1/2);

Error in lab1 (line 63)
thumbnails1(f)

When I search the Documentation for imresize, nothing shows up. Do I need to download something else?

Maybe the app should check for the presence of imresize?

Comment only
26 Oct 2016 Mikhail

Mikhail (view profile)

Updates
21 Oct 2016 1.0

Change house_clock to house_mult. Add more info's.

21 Oct 2016 1.0

Correct link to newslettter in description.

15 Nov 2016 1.1

Repair installer; add Crossed Ladders

18 Nov 2016 1.2

Eliminate call to imresize in thumbnails1.

05 Jan 2017 2.0

Add new experiment, moebiusapp. Add features to lab1, lab2, hello_world, censusapp, sudoku. Improve thumbnails.

05 Jan 2017 2.01

Correct and enhance description.

06 Jan 2017 2.02

Repair link to 1/5/2017 blog. Fix legend in orbits.

06 Jan 2017 2.03

Repair links.

18 Jan 2017 2.10

xxx

06 Feb 2017 2.30

Add bizcard and patience.

06 Feb 2017 2.30

Add bizcard and patience.

06 Feb 2017 2.31

Semicolon in thumbnails2

07 Mar 2017 2.33

Repair links in description.

20 Mar 2017 2.40

Add morse_tree and colorcubes.

Contact us