Approximate plot for values of 0-10
1 view (last 30 days)
Show older comments
ray sanchez on 7 May 2015
Answered: Salaheddin Hosseinzadeh on 7 May 2015
How would I take this plot and approximate it only for the values R = 0, 1, 2..., 10?
clear; close all; clc;
R = sqrt(X.^2 + Y.^2);
Z(isnan(Z)) = 0.5;
Salaheddin Hosseinzadeh on 7 May 2015
I guess you need to change the meshgrid()
[X,Y] = meshgrid(0:10);
I guess that's all!
More Answers (0)
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!