matlab_1 - ezsurf'z-1-x^2-y^2-10 10-10 10-10 10 | Error...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
>> ezplot3('1-t','3*t-1/2','4-t'); >> ezplot3('cos(3*t)','sin(3*t)','0',[0 pi/2]); >> ezplot3('cos(t)','t','-sin(t)',[0 pi*2]); >> f=inline(vectorize('sqrt((9-18*t^2+9*t^4)+36*t^2+(9+18*t^2+9*t^4))')) f = Inline function: f(t) = sqrt((9-18.*t.^2+9.*t.^4)+36.*t.^2+(9+18.*t.^2+9.*t.^4)) >> quad(f,0,1) ans = 5.6569 >> ezsurf('x+2*y',[-2 2 -2 2]) >> ezsurf('sqrt(4-x^2-y^2)',[0 5 0 5]) >> ezsurf('sqrt(4-x^2-y^2)',[0 10 0 10]) >> ezsurf('sqrt(4-x^2-y^2)',[-1 10 -1 10]) >> ezsurf('sqrt(4-x^2-y^2)',[-10 10 -10 10]) >> ezsurf('x^3+1',[-10 10 0 1]) >> ezsurf('z-1-x^2-y^2',[-10 10 -10 10 -10 10]
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ??? ezsurf('z-1-x^2-y^2',[-10 10 -10 10 -10 10] | Error: Expression or statement is incorrect--possibly unbalanced (, {, or [. >> ezsurf('z-1-x^2-y^2',[-10 10 -10 10 -10 10]) ??? Error using ==> ezgraph3>ezfixfun The expression z-1-x^2-y^2 must only have 2 symbolic variables Error in ==> ezgraph3>surfplot at 534 [F,var] = ezfixfun(F,fargs,flabel); Error in ==> ezgraph3 at 49 [dummy,h] = surfplot(f,domain,surfstyle,cax,Npts,fixdomain,flabel,fargs); Error in ==> ezsurf at 65 h = ezgraph3('surf',args{:}); >> ezsurf('x^2+(1/9)*y^2',[-10 10 -10 10])...
View Full Document

This note was uploaded on 04/09/2008 for the course MATH 241 taught by Professor Wolfe during the Spring '08 term at Maryland.

Ask a homework question - tutors are online