From: Antonio Trujillo-Ortiz on 1 Jul 2010 01:40 Hi all, I need your help on this. Suppose you have the matrix: A = [NaN 0 3;7 2 6;5 1 2;NaN NaN 5]; and you need to replace the NaN's column elements by its nanmeans to get, R = [6 0 3;7 2 6;6 1 5]; I would appreciate any hint. Thx
|
Pages: 1 Prev: Determinant of a non-square matrix? Next: MEX in Matlab 7.10, 64 bit, Windows 7 |