How do i create a plot for an implicit function in selected quadrants only?

I have to plot Y^2 – x^4=0 in the 3rd and 1st quadrant only, as a trace.
+ Need to create an M-File
Struggling with plotting the function as a symbolic so i can use "assume" and specify which co-ordinates i need to plot in a "if" type statement.
Thinking i need
if x<0 && y<0 plot(f)
etc
Any help would be appreciated.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 6월 21일
편집: Azzi Abdelmalek 2015년 6월 21일
x1=0:0.1:10
y1=x1.^2
x2=fliplr(-x1)
y2=-x2.^2
plot(x1,y1,x2,y2)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2015년 6월 21일

편집:

2015년 6월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by