MATLAB Online에서 열기 icosphere.jpg The plotted result should be similar to the picture from the description of the icosphere-function in the MathWorks File Exchange (see attachement). My attempt: A = surfacessphere;%coordinates of the triangular faces are stored in the surfaces_sphere.tx...
댓글 수: 1 Sulaymon Eshkabilov 2021년 3월 26일 Note that you have a hollow sphere with cutouts. Therefore, you need to set up the formulation first and then write a code to simulate and plot it. 댓글을 달려면 로그인하십시오....
MATLAB Online で開く I am trying to plot heat diffusion in a sphere but I am having no luck. I am trying to adapt my code for a square. My code for a square is: % Initialize square grid [x, y] = meshgrid(0:0.005:1, 0:0.005:1); ...
theta=linspace(0,2*pi);r=1+sin(theta);subplot(2,2,1);line1=polar(theta,r);set(line1,'LineWidth',0.8,'Color','r');title('r = a + a sin\theta(上型)');r=1-sin(theta);subplot(2,2,2);line2=polar(theta,r);set(line2,'LineWidth',0.8,'Color','r');title('r = a - a...
I do belive I have got much closer to the answer, see code below. So the question is how do I manipulate out a [22,12] matrix to scale the X,Y,Z values which are [46,26] matrix of the vertics.