Tilted circle in 3D mesh
4 views (last 30 days)
Show older comments
Abhishek Saini on 25 Dec 2019
Answered: Nikhil Sonavane on 30 Jan 2020
I have 3D mesh set and I want to give semicurcular region a differnet value. I have done this for vertical semi circle (as shown in figure) but how to do it for tilted semi circle. the code for generating vertical semi circle is here.
for x = 1:500
for z= 1:500
model(x,y,z) = 6300;
if z>=(x-250).^2 + (z-500).^2 - R.^2 && y==250
model(x,y,z) = 300;
Find more on Surface and Mesh Plots 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!