⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rotmat.m

📁 Frequently used algorithms for numerical analysis and signal processing
💻 M
字号:
function [ c, s ] = rotmat( a, b )%% Compute the Givens rotation matrix parameters for a and b.%   if ( b == 0.0 ),      c = 1.0;      s = 0.0;   elseif ( abs(b) > abs(a) ),      temp = a / b;      s = 1.0 / sqrt( 1.0 + temp^2 );      c = temp * s;   else      temp = b / a;      c = 1.0 / sqrt( 1.0 + temp^2 );      s = temp * c;   end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -