mymeshgrid.m

来自「MATLAB C# Book. This book is a great tut」· M 代码 · 共 8 行

M
8
字号
function [X,Y] = mymeshgrid(vectorstepx, vectorstepy)

%Using two colons to create a vector with increments between
%first and end elements.

[X,Y] = meshgrid( vectorstepx(1):vectorstepx(2):vectorstepx(3), ...
                  vectorstepy(1):vectorstepy(2):vectorstepy(3) ) ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?