I don't have the function 'squareform' which I need to run 'linkage'
1 次查看(过去 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
0 个评论
采纳的回答
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..
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!