Contour Plotting matrix size issue
古いコメントを表示
I am trying to plot computations using the contour plot, but am not sure how to because my z variable is the computation results and the dimensions are larger than y and x.
b = [0.1, 1.0, 10, 100];
R = (1:0.2:5);
theta = 45;
[F] = ratio_rp_bf(b,R,theta); 5x21
x = R.*cos(theta); 1x21
y = R.*sin(theta);1x21
z = [F];
Am I trying to plot the wrong things?
3 件のコメント
Walter Roberson
2013 年 2 月 15 日
I notice your b is length 4, but your F is 5 in the first dimension ? Is the rule that your F's first dimension is 1 more than length(b) ?
Image Analyst
2013 年 2 月 15 日
I don't know. Where is your call to the contour() function or the plot() function?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!