matlab曲线 投影,如何将空间曲线投影到三个坐标平面上?

这篇博客介绍了如何使用Matlab将空间曲线投影到X-Y、Y-Z和Z-X三个坐标平面上。通过示例代码展示了不同角度下的曲线投影过程,并提供了详细的数学计算和可视化结果。
摘要由CSDN通过智能技术生成

clc;clear;

syms u1 t1 v1 bt2 alf th1 th2

%syms th1

dt=pi/180;

v1=3*dt;

i=16/15;

bet1=21.5*dt;

u1=70;

for alf=2.5*dt;

th1=0:pi/60:2*pi;

st=-th1;

t1=atan(-i*sin(alf)*sin(st)/(i*(sin(alf)*cos(st)*sin(bet1)+cos(alf)*cos(bet1))-cos(bet1)));

x=-u1.*sin(v1).*(cos(t1).*((4190228212462809*sin((16*th1)/15).*sin(alf))/4503599627370496+(1650574788106375.*cos((16*th1)/15).*sin(th1))/4503599627370496-(1650574788106375*sin((16*th1)/15).*cos(alf).*cos(th1))/4503599627370496)-sin(t1).*(cos((16*th1)/15).*cos(th1)+sin((16*th1)/15).*cos(alf).*sin(th1)))-u1.*cos(v1).*((1650574788106375.*sin((16*th1)/15).*sin(alf))/4503599627370496-(4190228212462809*cos((16*th1)/15).*sin(th1))/4503599627370496+(4190228212462809*sin((16*th1)/15).*cos(alf).*cos(th1))/4503599627370496);

y=u1.*sin(v1).*(cos(t1).*((1650574788106375*sin((16*th1)/15).*sin(th1))/4503599627370496-(4190228212462809*cos((16*th1)/15).*sin(alf))/4503599627370496+(1650574788106375*cos((16*th1)/15).*cos(alf).*cos(th1))/4503599627370496)-sin(t1).*(sin((16*th1)/15).*cos(th1)-cos((16*th1)/15).*cos(alf).*sin(th1)))-u1.*cos(v1).*((1650574788106375*cos((16*th1)/15).*sin(alf))/4503599627370496+(4190228212462809*sin((16*th1)/15).*sin(th1))/4503599627370496&#

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值