Creating CAD geometry from matrix
4 views (last 30 days)
I am trying to generate a CAD model from the matrix (say 10x10). This matrix is representing the height of the object at each point in row and column.
I have plotted it as a bar graph and also like a surface plot, however, what I am looking for is a geometry creation which resembles the bar graph but continuous one not like a discrete one. The CAD model can look similar to the one attached here, not necessarily having the cavity in the middle.
Any help/leads will be highly appreaciated.
Sarvani Panguluri on 9 Sep 2020
I assume you are trying to recreate the Cad geometry in MATLAB .To make your bar graph look continuous, you can try to increase the width of bar to 1(default is 0.8) and put the EdgeColor to none to remove the black outline.
For example, considering a 10*10 matrix of ones, the above code gives the following output