Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-06-08
年龄: 38
帖子: 14
声望力: 16 ![]() |
![]()
最近做化工原理课程设计,苯-氯苯的气液平衡数据x-y图和q线方程为:q=-2*x+2.184编程作图如下:
>> x=[0,0.0115,0.0454,0.0879,0.131,0.185,0.276,0.44,0.543,0.678,0.818,1]; y=[0,0.0566,0.201,0.343,0.456,0.563,0.665,0.782,0.847,0.911,0.957,1;]; plot(x,y);hold on ; fplot('-2*x+2.184',[0.6,0.8],1e-4); hold off; hold on;fplot('x',[0 1],1e-4);hold off; text(x,y,['(' num2str(x) ',' num2str(y) ')']) 本想求得直线与曲线交点,但结果看不懂。希望高手给予小菜指导,在此谢过! PS:图形与交点坐标都要。我的图如下 |
![]() |
![]() |