basic operation but change in the matrix dimension
    paul.carrico at free.fr 
    paul.carrico at free.fr
       
    Fri Mar 12 11:00:02 CET 2010
    
    
  
Hi all,
I'm doing the basic operation herebellow... 
W_ is a 5 x 1 matrix
after calculation Q_ is a 1 x 5 matrix ==> why dimension has changed ????
Slts
PC
##########################"
W_ =[3.717 ; 3.8535 ; 3.759 ; 3.801  ; 3.801 ]
[line_number,column_number] = size(W_)
 
S_ = 0.079
for i = 1 : line_number
  Q_(i) = W_(i) / S_ ;
end;
W_
Q_
###########################
result
 W_  =
 
    3.717   
    3.8535  
    3.759   
    3.801   
    3.801 
  
 Q_  =
 
    47.050633    48.778481    47.582278    48.113924    48.113924  
    
    
More information about the users
mailing list