フィルターのクリア

Plotting waves in 2d

4 ビュー (過去 30 日間)
JDilla
JDilla 2016 年 4 月 25 日
編集済み: JDilla 2016 年 4 月 27 日
no longer needed

回答 (1 件)

Robert
Robert 2016 年 4 月 25 日
Your call to surf only references a and is not affected by your second wave in b. Maybe you meant to use something like
surf(X,Y,a+b);
You appear to be calling contour correctly, but if you don't like the result, you could consider specifying the levels yourself using the fourth input. See
doc contour
for details.
  3 件のコメント
Robert
Robert 2016 年 4 月 26 日
If this answered your question, please consider accepting the answer using the blue "Accept this Answer" button above. Thanks!
JDilla
JDilla 2016 年 4 月 26 日
I want to plot one of the waves in a different location, as well as creating a subplot for maximum amplitude shown, how would I do this?

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

カテゴリ

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