mad関数をcellfunで使いたいのですが,平均値か中央値を選ぶオプションの設定方法がわかりません.
Afficher commentaires plus anciens
%中央値絶対偏差
mad(x,0)
%平均値絶対偏差
mad(x,1)
%cellfunの場合
cellfun(mad,x,1)
この場合だとうまくいきません.
どうすればいいでしょうか?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 構造体 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!