Keywords
ans,i、j,Inf,eps(2.2204e-16),NaN,pi,~=(不等于),end(数组中最后一个)
- @ : can be used to pass a function to another
function [y] = xy_plot(input, x)
y = input(x); plot(x, y, 'r--');
xlabel('x'); ylabel('f(x)');
end
==>xy_plot(@sin, 0:0.01:2*pi);
Operations
常用函数
- who:variables in workspace
- whos:variable information in workspace
- disp():显示字符串。
- tic、toc计算中间代码执行时间,预分配空间执行效率更高。
- Strlength()
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。