How to write matlab code for the following equation that is attached in pdf form.

3 ビュー (過去 30 日間)
PLEASE GIVE MATLAB CODE FOR THE EQUATION THAT IS ATTACHED

採用された回答

Walter Roberson
Walter Roberson 2018 年 3 月 21 日
sum(sum(bsxfun(@minus, x, cen).^2))
  6 件のコメント
suraj singh
suraj singh 2018 年 3 月 21 日
Sir, x is (KxN) matrix and cen is (Kx1) vector.
suraj singh
suraj singh 2018 年 3 月 21 日
Thanks, torsten and walter roberson. It works.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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