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

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

 Réponse acceptée

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..

Plus de réponses (1)

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

Catégories

En savoir plus sur Stress and Strain dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by