用matlab计算反正弦函数,为什么正弦,反正弦函数计算结果会出现复数?

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

All_1=62.9582, lAdot_radS=(180/186)/180*pi;

onedeg = pi/180;

RAAN = onedeg:onedeg*10:(pi-onedeg);

RAAN = 0:onedeg*5:pi;

betaA = acos(cos(epsin)*cos(inc)+sin(epsin)*sin(inc)*cos(RAAN))

betaA0 = betaA*180/pi;

x_sunsyn = sin(All_1/180*pi)./sin(betaA);

x_sunsyn= 2*asin(x_sunsyn)/lAdot_radS

为什么算出来的结果会有复数?

x_sunsyn =

1.0e+002 *

Columns 1 through 5

1.3874 1.3863 1.3829 1.3775 1.3705

Columns 6 through 10

1.3621 1.3529 1.3434 1.3339 1.3250

Columns 11 through 15

1.3170 1.3103 1.3053 1.3021 1.3011

Columns 16 through 20

1.3026 1.3067 1.3137 1.3237 1.3371

Columns 21 through 25

1.3541 1.3750 1.4002 1.4300 1.4653

Columns 26 through 30

1.5069 1.5567 1.6182 1.7024 1.8600 - 0.0899i

Columns 31 through 35

1.8600 - 0.1983i 1.8600 - 0.2607i 1.8600 - 0.3050i 1.8600 - 0.3371i 1.8600 - 0.3591i

Columns 36 through 37

1.8600 - 0.3721i 1.8600 - 0.3763i

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值