p1_4.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 8 行
M
8 行
% P1_4.M Create a table of x^2, x^3, and x^4clearx=[0:10]'; % This creates a column of numberspowerofx=[x x.^2 x.^3 x.^4];disp(' x x^2 x^3 x^4')disp(powerofx)% Note: x=0:10; [x;x.^2;x.^3;x.^4]' will work also
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?