你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

【安富莱——DSP教程】第18章 ComplexMathFunctions的使用(二)

[复制链接]
baiyongbin2009 发布时间:2015-3-30 10:57
特别说明:完整45期数字信号处理教程,原创高性能示波器代码全开源地址:链接  e8 n  p( H9 o, [+ F( y5 P  ~3 ^
第18章 ComplexMathFunctions的使用(二)
* L5 G/ I  V, }+ S- i1 x( I3 }
    本期教程主要讲解复数运算中的模平方,复数乘法和复数乘实数的求解。
    18.1 复数模平方 ComplexMagSquared
    18.2 复数乘法 ComplexMultComplex
    18.3 复数乘实数 ComplexMultComplex
    18.4 总结

6 g) }: |/ e8 ~. }18.1 复数模平方 ComplexMagSquared18.1.1 arm_cmplx_mag_squared_f32
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[n] = pSrc[(2*n)+0]^2 + pSrc[(2*n)+1]^2;        
     }  
函数定义如下:
    void arm_cmplx_mag_squared_f32(float32_t * pSrc, float32_t * pDst, uint32_t numSamples)
参数定义:
    [in]  *pSrc   points to the complex input vector        
    [out]  *pDst  points to the real output vector        
    [in]  numSamples  number of complex samples in the input vector  
注意事项:
    1. 数组pSrc和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)
8 p1 ?& M2 f( n
18.1.2 arm_cmplx_mag_squared_q31
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[n] = pSrc[(2*n)+0]^2 + pSrc[(2*n)+1]^2;        
     }  
函数定义如下:
    void arm_cmplx_mag_squared_q31(q31_t * pSrc, q31_t * pDst, uint32_t numSamples)
参数定义:
    [in]  *pSrc   points to the complex input vector        
    [out]  *pDst  points to the real output vector        
    [in]  numSamples  number of complex samples in the input vector  
注意事项:
    1. 数组pSrc和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)

4 ~& \) r' g$ V* K7 q# L: K6 L
18.1.3 arm_cmplx_mag_squared_q15
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[n] = pSrc[(2*n)+0]^2 + pSrc[(2*n)+1]^2;        
     }  
函数定义如下:
    void arm_cmplx_mag_squared_q15(q15_t * pSrc, q15_t * pDst, uint32_t numSamples)
参数定义:
    [in]  *pSrc   points to the complex input vector        
    [out]  *pDst  points to the real output vector        
    [in]  numSamples  number of complex samples in the input vector  
注意事项:
    1. 数组pSrc和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)

( U  D% x8 ?1 G
18.1.4 实例讲解
实验目的:
     1. 学习ComplexMathFunctions中模平方的求解
实验内容:
    1. 按下按键K1, 串口打印函数DSP_MagSquared的输出结果
实验现象:
    通过窗口上位机软件SecureCRT(V5光盘里面有此软件)查看打印信息现象如下:
18.1.jpg
程序设计:
  1. /*
    7 Z3 ^  J6 P! z( i: a
  2. *********************************************************************************************************
    - f9 Y; \6 t* j# W& p
  3. *        函 数 名: DSP_MagSquared" c+ j8 B% P" z/ E1 G2 A5 ?* l1 n
  4. *        功能说明: 复数模的平方2 z2 w, \0 V  r# `4 I
  5. *        形    参:无& H4 m" K$ w: D  `' V
  6. *        返 回 值: 无& d) B' r" b& u0 b7 U1 {9 A$ V
  7. *********************************************************************************************************
    7 J- K( W7 M+ y  x( W. B
  8. */- b* t; R1 u7 |  I' s
  9. static void DSP_MagSquared(void)
    1 Z, T+ Y3 r9 Q  }* A8 v
  10. {% c) m: n! d- M9 |
  11. uint8_t i;
    , H" A5 w5 C5 a. C: C
  12. float32_t pSrc[10] = {1.1f, 1.1f, 2.1f, 2.1f, 3.1f, 3.1f, 4.1f, 4.1f, 5.1f, 5.1f};, b# v( M+ n. `( [+ d2 ?* i' |
  13. float32_t pDst[10];
    + G) M( J( h% f
  14. q31_t pSrc1[10] = {1*268435456, 1*268435456, 2*268435456, 2*268435456, 3*268435456, 3*268435456,
    3 Y4 Z4 [3 ~2 ~
  15.                     4*268435456, 4*268435456, 5*268435456, 5*268435456};
    " E' p* `5 Q' Y- d) n6 c8 c
  16. q31_t pDst1[10];2 a; F1 e) f/ \

  17. % F: s7 s0 D! O( Y8 F
  18. q15_t pSrc2[10] = {5000, 10000, 15000, 20000, 25000,  5000, 10000, 15000, 20000, 25000};
    ( ^# x0 N+ ?5 ~2 P! z
  19. q15_t pDst2[10];7 F0 ~* j$ x( q0 l# r( P8 F
  20. /***浮点数模平方*******************************************************************************/; c2 F  {' @8 }- [  X/ H
  21. arm_cmplx_mag_squared_f32(pSrc, pDst, 5);
    % j! ?! X1 g; g& Q7 B! |: I& L! x
  22. for(i = 0; i < 5; i++)
    / L3 z$ X& U7 B+ C8 O3 R3 ?# M
  23. {6 D4 @% G! j8 m- y. Z5 E
  24. printf("pDst[%d] = %f\r\n", i, pDst[i]);' J0 \4 X" p3 T- f8 x( f0 ~
  25. }
    6 Y; \9 W) d! r, |' D% e
  26. /***定点数模平方Q31*******************************************************************************/- F! m: n$ ?# O! b' l6 y# S1 t
  27. arm_cmplx_mag_squared_q31(pSrc1, pDst1, 5);/ \/ B( m: M1 z0 h0 u# y
  28. for(i = 0; i < 5; i++)  D3 O* V9 A8 C$ A
  29. {
    $ Y+ [$ x( v& I1 Y& ^
  30. printf("pDst1[%d] = %d\r\n", i, pDst1[i]);
    ' k! V/ T3 ^& J$ _
  31. }
    9 T) `- h' t% ?
  32. /***定点数模平方Q15*******************************************************************************/+ J* b4 m* d' H5 n- }
  33. arm_cmplx_mag_squared_q15(pSrc2, pDst2, 5);6 N7 G* ]! E7 y6 O+ J# u
  34. for(i = 0; i < 5; i++)' M  w6 a2 {2 J8 U( J4 Y+ L7 S/ L
  35. {
    " ~6 T. [: [) m
  36. printf("pDst2[%d] = %d\r\n", i, pDst2[i]);
    . z: |; }/ V4 i) M- N5 ]/ Z* {: ]
  37. }
      U0 @& D7 c- Y
  38. }
复制代码

. I& C. A+ s8 U# U; w6 r1 R
赞 收藏 评论5 发布时间:2015-3-30 10:57

举报

5个回答
baiyongbin2009 回答时间:2015-3-30 11:00:44
18.2 复数乘法 ComplexMultComplex
2 x, q, Y7 c& I& l) ^

. c7 X5 d) D7 A" r8 {+ I18.2.1 arm_cmplx_mult_cmplx_f32
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[(2*n)+0] = pSrcA[(2*n)+0] * pSrcB[(2*n)+0] - pSrcA[(2*n)+1] * pSrcB[(2*n)+1];        
            pDst[(2*n)+1] = pSrcA[(2*n)+0] * pSrcB[(2*n)+1] + pSrcA[(2*n)+1] * pSrcB[(2*n)+0];        
    }  
函数定义如下:
    void arm_cmplx_mult_cmplx_f32(
      float32_t * pSrcA,
         float32_t * pSrcB,
        float32_t * pDst,
        uint32_t numSamples)
参数定义:
    [in]  *pSrcA   points to the first input vector        
    [in]  *pSrcB   points to the second input vector        
    [out]  *pDst   points to the output vector        
    [in]  numSamples number of complex samples in each vector   
注意事项:
    1. 数组pSrcA, pSrcB和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)

, T* g4 U/ h* X5 r5 K: r; w" e
18.2.2 arm_ cmplx_mult_cmplx_q31
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[(2*n)+0] = pSrcA[(2*n)+0] * pSrcB[(2*n)+0] - pSrcA[(2*n)+1] * pSrcB[(2*n)+1];        
            pDst[(2*n)+1] = pSrcA[(2*n)+0] * pSrcB[(2*n)+1] + pSrcA[(2*n)+1] * pSrcB[(2*n)+0];        
    }
函数定义如下:
    void arm_cmplx_mult_cmplx_q31(
        q31_t * pSrcA,
        q31_t * pSrcB,
        q31_t * pDst,
        uint32_t numSamples)
参数定义:
    [in]  *pSrc   points to the complex input vector        
    [out]  *pDst  points to the real output vector        
    [in]  numSamples  number of complex samples in the input vector  
注意事项:
    1. 数组pSrcA, pSrcB和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)

4 e. Q& O% ~$ E
18.2.3 arm_cmplx_mult_cmplx_q15
公式描述:
    for(n=0; n<numSamples; n++) {        
            pDst[(2*n)+0] = pSrcA[(2*n)+0] * pSrcB[(2*n)+0] - pSrcA[(2*n)+1] * pSrcB[(2*n)+1];        
            pDst[(2*n)+1] = pSrcA[(2*n)+0] * pSrcB[(2*n)+1] + pSrcA[(2*n)+1] * pSrcB[(2*n)+0];        
    }   
函数定义如下:
    void arm_cmplx_mult_cmplx_q15(
        q15_t * pSrcA,
        q15_t * pSrcB,
        q15_t * pDst,
        uint32_t numSamples)
参数定义:
    [in]  *pSrc   points to the complex input vector        
    [out]  *pDst  points to the real output vector        
    [in]  numSamples  number of complex samples in the input vector  
注意事项:
    1. 数组pSrcA, pSrcB和pDst中存储的数据格式是(实部,虚部,实部,虚部……………)

4 i  X! ]( _' l0 ]# G, \

* @% ?. [: X' b; ]# o! M" ]( H; E18.2.4
实例讲解
实验目的:
    1. 学习ComplexMathFunctions中复数乘法的求解
实验内容:
    1. 按下按键K2, 串口打印函数DSP_CmplxMult的输出结果
实验现象:
    通过窗口上位机软件SecureCRT(V5光盘里面有此软件)查看打印信息现象如下:
18.2.jpg
程序设计:
  1. /*
    / h4 D2 R% f3 F& p$ T) e* N
  2. *********************************************************************************************************
    ) [- N3 P  {! w* {& d% ~
  3. *        函 数 名: DSP_CmplxMult
    2 s. ^: T; ^. K7 N3 `7 k
  4. *        功能说明: 复数乘法$ {$ G4 y  u1 c3 P
  5. *        形    参:无( _2 ]7 a& ~; ~* V" [1 \9 M
  6. *        返 回 值: 无& N. w: u4 x; \( o) A
  7. *********************************************************************************************************
    3 ?2 l5 G* a: A  i* `! K
  8. */
    ' K, [& s2 J; T& {5 H  P: b9 g
  9. static void DSP_CmplxMult(void)7 |0 B. r" _; v% X. ^. Z2 j
  10. {& B9 O! S0 K* e1 ]# ~; }' o
  11. uint8_t i;
    4 H$ o6 u& Y* N) c4 |1 _7 K; Y
  12. float32_t pSrcA[10] = {1.1f, 1.2f, 2.1f, 2.2f, 3.1f, 3.2f, 4.1f, 4.2f, 5.1f, 5.2f};
    " E$ W$ E/ A1 D# _
  13. float32_t pSrcB[10] = {1.2f, 1.2f, 2.2f, 2.2f, 3.2f, 3.2f, 4.2f, 4.2f, 5.2f, 5.2f};8 U5 z; D& t: @
  14. float32_t pDst[10];
    - L: i9 a$ S* c) ?2 ^( X; E
  15. q31_t pSrcA1[10] = {1*268435456, 1*268435456, 2*268435456, 2*268435456, 3*268435456, 3*268435456,
    # X5 ?* Y4 x, m7 z- H
  16.                     4*268435456, 4*268435456, 5*268435456, 5*268435456};9 }# ]* [  x) m  |
  17. q31_t pSrcB1[10] = {1*268435456, 1*268435456, 2*268435456, 2*268435456, 3*268435456, 3*268435456,   w8 e: R7 ?' p7 U2 S' o( O4 t$ f
  18.                     4*268435456, 4*268435456, 5*268435456, 5*268435456};
    " o1 ~5 R+ z5 p( Q
  19. q31_t pDst1[10];
    + g8 L; J  K5 Z, o  I# D+ m. T: u, {
  20. q15_t pSrcA2[10] = {5000, 10000, 15000, 20000, 25000,  5000, 10000, 15000, 20000, 25000};' c# p& A. P' q' U$ T( n
  21. q15_t pSrcB2[10] = {6000, 11000, 15000, 20000, 25000,  5000, 10000, 15000, 20000, 25000};
      Q/ @* }0 Q& O0 z! f! S, J2 M
  22. q15_t pDst2[10];2 x& ~, i; E( L8 `0 a
  23. /***浮点数乘法*******************************************************************************/# U( B1 O5 U9 M' k5 o
  24. arm_cmplx_mult_cmplx_f32(pSrcA, pSrcB, pDst, 5);; {- Q, K! P2 Y- D6 A
  25. for(i = 0; i < 5; i++)
    , [+ i* F" i2 C
  26. {
    0 ]& B' N/ \2 `; R; D9 F# A8 G& U9 W
  27. printf("pDst[%d] = %f %fj\r\n", i, pDst[2*i], pDst[2*i+1]);
    , m8 Z/ i0 }+ x8 g& k
  28. }0 j( c+ G& j% a, l( o
  29. /***定点数乘法Q31*******************************************************************************/& j$ U6 _/ ?4 E: j: j+ d: `
  30. arm_cmplx_mult_cmplx_q31(pSrcA1, pSrcB1, pDst1, 5);5 M% x- r4 w3 t4 r% p$ f$ }, Y2 I
  31. for(i = 0; i < 5; i++)
    + v' c5 S$ f  r8 Z. M
  32. {
    ' ?2 u& O8 T. _
  33. printf("pDst1[%d] = %d %dj\r\n", i, pDst1[2*i], pDst1[2*i+1]);9 V9 U8 H1 a8 K* X, p" w$ q
  34. }" G* y. ^0 l! e$ b6 T6 E' l
  35. /***定点数乘法Q15*******************************************************************************/
    3 D: A" x, |7 J% e0 l# t( I/ a
  36. arm_cmplx_mult_cmplx_q15(pSrcA2, pSrcB2, pDst2, 5);# e, Z& K5 v! K/ g4 }
  37. for(i = 0; i < 5; i++)
    9 r; q! P3 f3 _
  38. {/ ^: i, x" a  C! z  Q  Y
  39. printf("pDst1[%d] = %d %dj\r\n", i, pDst2[2*i], pDst2[2*i+1]);
    & ?7 K, K, A2 x+ N# ?
  40. }7 t# m, w3 X5 u4 M
  41. }
复制代码
0 [* B2 x  ?$ I1 t
& z, |6 d4 I, m

- S. ^) N2 i4 f& ^7 t
baiyongbin2009 回答时间:2015-3-30 11:04:00
18.3 复数乘实数 ComplexMultComplex
0 [4 r  f) }6 _0 t$ y! O; K

5 r7 }5 Q! h9 ^" F( z% m/ o18.3.1 arm_cmplx_mult_cmplx_f32
公式描述:
    for(n=0; n<numSamples; n++) {        
           pCmplxDst[(2*n)+0] = pSrcCmplx[(2*n)+0] * pSrcReal[n];        
           pCmplxDst[(2*n)+1] = pSrcCmplx[(2*n)+1] * pSrcReal[n];        
     }   
函数定义如下:
    void arm_cmplx_mult_real_f32(
        float32_t * pSrcCmplx,
        float32_t * pSrcReal,
        float32_t * pCmplxDst,
        uint32_t numSamples)
参数定义:
     [in]  *pSrcCmplx   points to the complex input vector        
     [in]  *pSrcReal     points to the real input vector        
     [out]  *pCmplxDst  points to the complex output vector        
     [in]  numSamples  number of samples in each vector
注意事项:
    1. 数组pSrcCmplx, pCmplxDst中存储的数据格式是(实部,虚部,实部,虚部……………)
) h7 {7 ~" S/ {' C% M
18.3.2 arm_ cmplx_mult_cmplx_q31
公式描述:
     for(n=0; n<numSamples; n++) {        
           pCmplxDst[(2*n)+0] = pSrcCmplx[(2*n)+0] * pSrcReal[n];        
           pCmplxDst[(2*n)+1] = pSrcCmplx[(2*n)+1] * pSrcReal[n];        
     }  
函数定义如下:
    void arm_cmplx_mult_real_q31(
        q31_t * pSrcCmplx,
        q31_t * pSrcReal,
        q31_t * pCmplxDst,
        uint32_t numSamples)
参数定义:
    [in]  *pSrcCmplx   points to the complex input vector        
    [in]  *pSrcReal     points to the real input vector        
    [out]  *pCmplxDst  points to the complex output vector        
    [in]  numSamples  number of samples in each vector
注意事项:
    1. 数组pSrcCmplx, pCmplxDst中存储的数据格式是(实部,虚部,实部,虚部……………)
- k6 U% L6 N  s" r( ?5 J
18.3.3 arm_cmplx_mult_cmplx_q15
公式描述:
     for(n=0; n<numSamples; n++) {        
           pCmplxDst[(2*n)+0] = pSrcCmplx[(2*n)+0] * pSrcReal[n];        
           pCmplxDst[(2*n)+1] = pSrcCmplx[(2*n)+1] * pSrcReal[n];        
     }
函数定义如下:
    void arm_cmplx_mult_real_q15(
        q15_t * pSrcCmplx,
        q15_t * pSrcReal,
        q15_t * pCmplxDst,
        uint32_t numSamples)
参数定义:
    [in]  *pSrcCmplx   points to the complex input vector        
    [in]  *pSrcReal     points to the real input vector        
    [out]  *pCmplxDst  points to the complex output vector        
    [in]  numSamples  number of samples in each vector
注意事项:
    1. 数组pSrcCmplx, pCmplxDst中存储的数据格式是(实部,虚部,实部,虚部……………)

6 d: d& t7 w$ a' w. D
18.3.4 实例讲解
实验目的:
    1. 学习ComplexMathFunctions中复数乘法的求解
实验内容:
    1. 按下按键K3, 串口打印函数DSP_CmplxMultReal的输出结果
实验现象:
    通过窗口上位机软件SecureCRT(V5光盘里面有此软件)查看打印信息现象如下:
18.3.jpg
程序设计:
  1. /*
    ) b$ O, D1 Q% p. k$ E' l2 ~+ h
  2. *********************************************************************************************************
    / N% c+ L& ~3 z' S- r
  3. *        函 数 名: DSP_CmplxMultReal$ M: e0 @+ f) X" e: b% s0 U
  4. *        功能说明: 复数乘实数
      S; `7 s* L. _: L
  5. *        形    参:无
    1 E" U5 {9 P0 M% I
  6. *        返 回 值: 无
    6 T: Q( S. b9 p9 X+ K8 j% p, h* P
  7. *********************************************************************************************************
    $ R  M! v" H: z
  8. */
    ( X- z$ T) V0 ~2 N& B" V. K& w
  9. static void DSP_CmplxMultReal(void)! b  c- t! s7 l
  10. {
    " {: s  h) {, D. M: g
  11. uint8_t i;
    6 v  }0 w) O- \  _" H
  12. float32_t pSrcCmplx[10] = {1.1f, 1.2f, 2.1f, 2.2f, 3.1f, 3.2f, 4.1f, 4.2f, 5.1f, 5.2f};
    3 [* ]. a! T* ~$ `4 ]0 G
  13. float32_t pSrcReal[5] = {1.2f, 1.2f, 2.2f, 2.2f, 3.2f};$ r+ J. i0 v0 }
  14. float32_t pCmplxDst[10];
      B$ c& h, v/ F0 _
  15. q31_t pSrcCmplx1[10] = {1*268435456, 1*268435456, 2*268435456, 2*268435456, 3*268435456, 3*268435456,
    1 h' i" p$ W8 U8 _* v8 V) J7 l
  16.                     4*268435456, 4*268435456, 5*268435456, 5*268435456};
    , n6 N2 ^% |. {4 M
  17. q31_t pSrcReal1[10] = {1*268435456, 1*268435456, 2*268435456, 2*268435456, 3*268435456};# o8 y7 b2 ~# H6 P  r
  18. q31_t pCmplxDst1[10];
    # b9 E9 ~! V& P4 z4 {' B8 g2 Z, A
  19. q15_t pSrcCmplx2[10] = {14000, 16000, 20000, 20000, 30000, 31000, 12000, 13000, 14000, 25000};# }+ k3 G7 a" b' P! g" i/ X
  20. q15_t pSrcReal2[10] =  {15000, 17000, 20000, 20000, 30000};
    5 e7 }9 x7 W: J- B& }
  21. q15_t pCmplxDst2[10];/ s, y# A8 F* S8 j; n
  22. /***浮点数*******************************************************************************/0 |! O5 f& b" s& v( a3 I
  23. arm_cmplx_mult_cmplx_f32(pSrcCmplx, pSrcReal, pCmplxDst, 5);0 a9 I: i% {6 L
  24. for(i = 0; i < 5; i++)
    : @' o* n9 S: _- Q
  25. {/ S0 b4 ^2 b" }
  26. printf("pCmplxDst[%d] = %f %fj\r\n", i, pCmplxDst[2*i], pCmplxDst[2*i+1]);4 B+ A/ F7 E9 L" R- o( b
  27. }; V- o4 J( D. K. m5 b
  28. /***定点数Q31*******************************************************************************/
    0 j& D5 x8 F8 g5 B; }
  29. arm_cmplx_mult_cmplx_q31(pSrcCmplx1, pSrcReal1, pCmplxDst1, 5);9 _( a- _8 j9 K( R$ C* u
  30. for(i = 0; i < 5; i++)- s; y' f7 v1 D$ a) g5 p/ B
  31. {( J9 K2 J6 I( ~4 _3 `
  32. printf("pCmplxDst1[%d] = %d %dj\r\n", i, pCmplxDst1[2*i], pCmplxDst1[2*i+1]);/ _9 [# a' v. G# P
  33. }
    ; u+ c5 ~0 j0 v# e
  34. /***定点数Q15*******************************************************************************/
    $ q+ x! A  f1 ~
  35. arm_cmplx_mult_cmplx_q15(pSrcCmplx2, pSrcReal2, pCmplxDst2, 5);- `: L( ~5 n, |7 h; A% m
  36. for(i = 0; i < 5; i++)5 i1 Y; m" f; C. Y
  37. {
    6 @1 ]/ l+ d" W' J/ }
  38. printf("pCmplxDst2[%d] = %d %dj\r\n", i, pCmplxDst2[2*i], pCmplxDst2[2*i+1]);
    : w5 ~$ _( d- r9 q
  39. }
    3 v1 A5 Y. A* h& H8 y" I! T
  40. }
复制代码

$ y; N1 v* z' b: c+ p
18.4 总结
    本期教程就跟大家讲这么多,有兴趣的可以深入研究下算法的具体实现。

0 \  R' J) f' e$ j; }3 K5 s$ N2 I9 K  b6 x
kqh1120 回答时间:2015-3-30 11:13:01
学习了啊 smile.gif
木木鱼 回答时间:2015-3-30 11:26:49
好好的学习下!
sfee2002 回答时间:2015-3-30 12:12:28
正在学习中,顶一下
关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
人形机器人运动控制、感知与智能配电
半导体创新技术与应用方向
EE架构与软件定义汽车
12V/48V 汽车智能配电(SPD)
区域控制单元(ZCU)与分区架构
关注我们
st-img 微信公众号
st-img 手机版