rotatef.mBack to Contents<< Prev |  Next >> 

rotatef
Rotates a vector/scalar field.

Description
RF = rotatef(F,THETA) rotates the vector/scalar field(s) F about an 
angle THETA in the trigonometric direction (THETA is given in radians). 
Points which have antecedent from outside the original field are 
filled with 0. 
 
RF = rotatef(V,THETA,'trunc') keeps only the central rectangular 
area (with the aspect ratio kept constant) containing only valid (ie 
nonzero) elements. 
 
If no output argument, the result is displayed by showvec or showscal. 
 
rotatef is useful for correcting vector/scalar fields obtained from 
skewed images (e.g. misaligned camera). 
 
Example:  showvec(rotatef(loadset,0.1)); 
 
F. Moisy 
Revision: 1.10,  Date: 2005/10/11 
 
See Also
loadvec, vec2scal, showvec, filterf, truncf, extractf. 

 Previous: renumberfileNext: rrmdir 

Help file generated by m2html 1.06