p1_7.m
来自「Programs for the book Advanced Engineeri」· M 代码 · 共 10 行
M
10 行
% P1_7.M Use of eval
a=[0 1 2 3 4]
f1='exp(a)'
f2='a.*a'
fexp=eval(f1)
fsquared=eval(f2)
%
% Note: This is a useful but complicated command
% It is worth the effort to understand it
%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?