Matlab 2008 meshgrid1/8/2023 ![]() Now the same thing in matlab - decide by yourself which one is correct or make more sense > xlist = -2. ![]() Mathematica was done on this template Timing[ MATLAB timing was done using this template code by changing the grid spacing, as an example for the code that generate the above plot: tic = meshgrid(-2.2:2, -4.4:4) toc ImagePadding -> 20, Mesh -> 35, InterpolationOrder -> 2,ĬolorFunction -> "Rainbow", Boxed -> False] ListPlot3D[pts, PlotRange -> All, AxesLabel -> Automatic, Using MATLAB's help standard example for meshgrid: Mathematica implementation meshgrid, Range] ![]() ( Update, added more points, and more timings)
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |