f(x,y)=e^(y/x) 用MATLAB怎么画图形
人气:431 ℃ 时间:2020-04-27 01:32:29
解答
x=1:0.01:3; %定义x的取值范围,1≤x≤3,每隔0.01取一个值
y=-1:0.01:1; %定义y的取值范围,-1≤y≤1,每隔0.01取一个值
[X,Y]=meshgrid(x,y); %将两列数据变成一个网格
z=exp(Y./X); %求e^(y/x)
mesh(z); %画图
推荐
猜你喜欢
- A、B都是正整数,如果A除以B等于10,那么A、B的最小公倍数是几谢谢了,
- The words of his old teacher left a ______ impression on his mind.He is still influenced by them.
- 有关交通安全的作文600字
- 举例说出“经过两点且只有一条直线”和“两点之间,线段最短”这两个结论在实际生活中的运用
- 在某张月历上,一个月内是五个星期日正好在同列,且它们的日期数之和是80,则本月第一个星期一是__号?
- each other for a change是什么意思
- "Bill,is this_____bike?" "Yes,it is."
- 翻译 Happiness is not wishing for what we dont have,but enjoying what we do possess