hanshu.m

来自「有关matlab的神经网络源程序」· M 代码 · 共 14 行

M
14
字号
t=-pi:0.1:pi;
trigname=input('Input trig function name:');
switch trigname
    case 'sin'
        plot(t,sin(t))
    case 'cos'
        plot(t,cos(t));
    case 'tan'
        plot(t,tan(t))
    otherwise
        input('wrong')
        break
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?