Clear Filters
Clear Filters

I don't have the function 'squareform' which I need to run 'linkage'

3 views (last 30 days)
Hi everybody,
I'm trying to use linkage but it returns this error: function 'squareform' for input arguments of type 'single'.> So i checked if I have the function 'squareform' using 'which' but it didn't find it. How can I do to get this function, please?
Thank you in advance for your help,
Virginie

Accepted Answer

Thomas
Thomas on 7 Nov 2012
squareform is part of the statistics toolbox. You need to buy the statistics toolbox from the MATHWORKS if you do not have it. To check for installed toolboxes try
ver
and see if Statistics toolbox is present..

More Answers (1)

Virginie
Virginie on 8 Nov 2012
Thank you for the answer. I don't have this tool... Thanks again! Virginie

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!