フィルターのクリア

Unrecognized function or variable 'X'

2 ビュー (過去 30 日間)
uma
uma 2020 年 4 月 2 日
回答済み: Walter Roberson 2020 年 4 月 2 日

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 4 月 2 日
Example:
myX = randi(9, 17, 3);
myY = randi(9, 5, 3) - 5;
myD = pdist2(myX, myY, 'sqeuclidean');
That is, you need to have data to pass into the function. The variable names do not need to be X, Y and metric: you can use whatever variable names are appropriate for your purposes.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by