フィルターのクリア

Set symbolic variables constant in plot

1 回表示 (過去 30 日間)
Robert
Robert 2013 年 4 月 8 日
Hi all,
I have the symbolic function
f = 2*a^2*b^2 - 2*a^2*b + 5*a^2 - 2*a*b^3 - 2*a*b^2*c
and want to see a surface plot of this for c = 0.
I imagine I want to use the ezsurfc() function but how do I specify that I want to hold the symbolic variable 'c' constant and equal to 0?
Many thanks, Rob

採用された回答

Walter Roberson
Walter Roberson 2013 年 4 月 8 日
ezsurfc( subs(f, c, 0) )
  1 件のコメント
Robert
Robert 2013 年 4 月 8 日
Thank you Walter

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by