MATLAB: How to plot 2D temperature. MATLABpolarrose Hey, I have a matrix of the temperature from the geometry that is an circle. I would like to know how can I plot it? I am adding one image that looks like the result that I expect. Best Answer Without your data or calculations, providing specific code is not possible.You may have to calculate your data in polar coordinates, then transform them to Cartesian coordinates to plot them with the contourf function.See if something like this does what you want:a = linspace(0, 2*pi, 500);r = sin(a).^2;[A,R] = meshgrid(a,r);Z = R .* sqrt(A);[X,Y,Z] = pol2cart(A,R,Z);figure(1)contourf(X, Y, Z)grid onaxis equal Related SolutionsMATLAB: How to plot point with marker like a dart Seedoc feather MATLAB: Hi, I wanted to see how I can solve the differential equation. A spring-mass system with damping in our explanation here. White noise input and a differential equation in order to resolve ode 45 is the Random function. all about ode Related Question
Best Answer