plot level curve for higher dimensional functions

1 回表示 (過去 30 日間)
Sam Alex
Sam Alex 2012 年 12 月 11 日
Hello everyone,
How do we plot a level curve for a function with 4 variables, knowing that I need the level curve to show 2 dimensions only. Example function:
100*(x2 - x1.^2).^2 + (1 - x1).^2 + (1 - x3).^2 + 90*(x4 - x3.^2).^2 + 10.1*((x2 - 1).^2 + (x4 - 1).^2) + 19.8*(x2 - 1).*(x4 - 1);
Thanks
  4 件のコメント
Jonathan Epperl
Jonathan Epperl 2012 年 12 月 11 日
How is that supposed to work? You are looking for solutions of the equation f(x1,x2,x3,x4) = C for different C. But with your one equation you only reduce the dimension by 1, and a "level curve" would still be a 3-dim object.
Walter Roberson
Walter Roberson 2012 年 12 月 11 日
I was thinking "maybe slice() or isosurface()", but those are for 3D arrays, not for 4D arrays.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by