mad関数をcellfunで使いたいのですが,平均値か中央値を選ぶオプションの設定方法がわかりません.
Mostrar comentarios más antiguos
%中央値絶対偏差
mad(x,0)
%平均値絶対偏差
mad(x,1)
%cellfunの場合
cellfun(mad,x,1)
この場合だとうまくいきません.
どうすればいいでしょうか?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 構造体 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!