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

3 次查看(过去 30 天)
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

采纳的回答

Thomas
Thomas 2012-11-7
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..

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by