欢迎来到天天文库
浏览记录
ID:37712245
大小:40.00 KB
页数:5页
时间:2019-05-29
《matlab隐函数绘图相关问题》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、MATLAB提供了一个ezplot函数绘制隐函数图形,下面介绍其用法。(1)对于函数f=f(x),ezplot函数的调用格式为:ezplot(f):在默认区间-2π2、的图形。ezplot(f,[a,b]):在区间a3、*x*y+1/5')subplot(2,2,3);ezplot('cos(tan(pi*x))',[0,1])subplot(2,2,4);ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[0,2*pi])在MATLAB7.0用帮忙命令可以清楚知道函数的意义与用法.如:::>>helpezplotEZPLOTEasytousefunctionplotter. EZPLOT(f)plotstheexpressionf=f(x)overthedefault domain-2*pi4、])plotsf=f(x)overa5、ionofthevariablesuandv(ratherthanxandy),then thedomainendpointsa,b,c,anddaresortedalphabetically.Thus, EZPLOT('u^2-v^2-1',[-3,2,-2,3])plotsu^2-v^2-1=0over -36、PLOT(x,y,[tmin,tmax])plotsx=x(t)andy=y(t)over tmin7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'8、,'cos(t)') ezplot('sin(3*t)*c
2、的图形。ezplot(f,[a,b]):在区间a3、*x*y+1/5')subplot(2,2,3);ezplot('cos(tan(pi*x))',[0,1])subplot(2,2,4);ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[0,2*pi])在MATLAB7.0用帮忙命令可以清楚知道函数的意义与用法.如:::>>helpezplotEZPLOTEasytousefunctionplotter. EZPLOT(f)plotstheexpressionf=f(x)overthedefault domain-2*pi4、])plotsf=f(x)overa5、ionofthevariablesuandv(ratherthanxandy),then thedomainendpointsa,b,c,anddaresortedalphabetically.Thus, EZPLOT('u^2-v^2-1',[-3,2,-2,3])plotsu^2-v^2-1=0over -36、PLOT(x,y,[tmin,tmax])plotsx=x(t)andy=y(t)over tmin7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'8、,'cos(t)') ezplot('sin(3*t)*c
3、*x*y+1/5')subplot(2,2,3);ezplot('cos(tan(pi*x))',[0,1])subplot(2,2,4);ezplot('8*cos(t)','4*sqrt(2)*sin(t)',[0,2*pi])在MATLAB7.0用帮忙命令可以清楚知道函数的意义与用法.如:::>>helpezplotEZPLOTEasytousefunctionplotter. EZPLOT(f)plotstheexpressionf=f(x)overthedefault domain-2*pi4、])plotsf=f(x)overa5、ionofthevariablesuandv(ratherthanxandy),then thedomainendpointsa,b,c,anddaresortedalphabetically.Thus, EZPLOT('u^2-v^2-1',[-3,2,-2,3])plotsu^2-v^2-1=0over -36、PLOT(x,y,[tmin,tmax])plotsx=x(t)andy=y(t)over tmin7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'8、,'cos(t)') ezplot('sin(3*t)*c
4、])plotsf=f(x)overa5、ionofthevariablesuandv(ratherthanxandy),then thedomainendpointsa,b,c,anddaresortedalphabetically.Thus, EZPLOT('u^2-v^2-1',[-3,2,-2,3])plotsu^2-v^2-1=0over -36、PLOT(x,y,[tmin,tmax])plotsx=x(t)andy=y(t)over tmin7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'8、,'cos(t)') ezplot('sin(3*t)*c
5、ionofthevariablesuandv(ratherthanxandy),then thedomainendpointsa,b,c,anddaresortedalphabetically.Thus, EZPLOT('u^2-v^2-1',[-3,2,-2,3])plotsu^2-v^2-1=0over -3
6、PLOT(x,y,[tmin,tmax])plotsx=x(t)andy=y(t)over tmin7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'8、,'cos(t)') ezplot('sin(3*t)*c
7、 using@oraninlinefunction: ezplot('cos(x)') ezplot('cos(x)',[0,pi]) ezplot('1/y-log(y)+log(-1+y)+x-1') ezplot('x^2-y^2-1') ezplot('x^2+y^2-1',[-1.25,1.25]);axisequal ezplot('x^3+y^3-5*x*y+1/5',[-3,3]) ezplot('x^3+2*x^2-3*x+5-y^2') ezplot('sin(t)'
8、,'cos(t)') ezplot('sin(3*t)*c
此文档下载收益归作者所有