Unrecognized function or variable 'X'

1 Ansicht (letzte 30 Tage)
uma
uma am 2 Apr. 2020
Beantwortet: Walter Roberson am 2 Apr. 2020

Antworten (1)

Walter Roberson
Walter Roberson am 2 Apr. 2020
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.

Kategorien

Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by