mad関数をcellfunで使いたいのですが,平均値か中央値を選ぶオプションの設定方法がわかりません.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tadafumi Sugi
le 26 Fév 2024
Commenté : Tadafumi Sugi
le 2 Mar 2024
%中央値絶対偏差
mad(x,0)
%平均値絶対偏差
mad(x,1)
%cellfunの場合
cellfun(mad,x,1)
この場合だとうまくいきません.
どうすればいいでしょうか?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!