how to summary graphics

조회 수: 1 (최근 30일)
Federica Pucci
Federica Pucci 2019년 2월 16일
댓글: Walter Roberson 2019년 2월 17일
how do summary graphics of two symfun? i don't see two graphics in one picture, but i do to summary the graphics.
thanks

답변 (1개)

Walter Roberson
Walter Roberson 2019년 2월 16일
syms x
f1(x) = x^2 - 4*x + 3;
f2(x) = x^3 - 4*x + 3;
then
fplot([f1 f2], [0 4])
or
fplot(f1, [0 4])
hold on
fplot(f2, [0 4])
hold off
  댓글 수: 2
Federica Pucci
Federica Pucci 2019년 2월 17일
if this function have the domain different, how do i?
for example:
f1(x,y) from x=0, x=1, y=0, y=1
f1(x,y) from x=1, x=2, y=0, y=1
i will summary this function and thier graohics.
thanks
Walter Roberson
Walter Roberson 2019년 2월 17일
fsurf(f1, [0 1 0 1])
hold on
fsurf(f1, [1 2 0 1])
hold off
Though in this particular case, that would be the same as
fsurf(f1, [0 2 0 1])

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by