⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bool_soln.m

📁 ML_01_SOLUTIONS1 ML_01_SOLUTIONS1
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -