bool_soln.m
来自「ML_01_SOLUTIONS1 ML_01_SOLUTIONS1」· M 代码 · 共 10 行
M
10 行
load stockperf
whos
stock_values
vals_in_range=(stock_values>17&stock_values<18)
% Creates a logical array of zeroes and ones, where a one
% indicates a value in the range.
num_vals=stock_values(vals_in_range)
% Index into stock_values using the logical array to get
% list of numerical values.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?