Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

plotting circumference

Status
Not open for further replies.

carmelomat

Electrical
Joined
May 14, 2009
Messages
3
hi mans!.
how can i plot a circumference in matlab knowing the equation?..such as x^2+y^2+3x-2=0...

thanks
 
set up a parametric equation in i and then plot x(i) against y(i)

Cheers

Greg Locock

SIG:Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
i don't understand...how can i set parametric equation?..
i can't plot with matlab in implicit form..but only
plot(x,t)...
oh god!
 
i find this :

but i try the example:
plot(plot::Implicit2d(x^2+y^2-1, x = -1..1, y = -1..1))

and matlab find an error..
>> plot(plot::Implicit2d(x^2+y^2-1, x = -1..1, y = -1..1))
??? plot(plot::Implicit2d(x^2+y^2-1, x = -1..1, y = -1..1))
|
Error: Unexpected MATLAB operator.

how can i resolve?
thanks
 
Is this for school?

TTFN

FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top