matlab定义a打个比方 syms a 定义一个变量p1=[a,0,0] 给出一个向量norm(p1) 对向量求模Undefined function or method 'norm' for input arguments of type 'sym'.是我定义的不对吗
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/04 00:56:22
![matlab定义a打个比方 syms a 定义一个变量p1=[a,0,0] 给出一个向量norm(p1) 对向量求模Undefined function or method 'norm' for input arguments of type 'sym'.是我定义的不对吗](/uploads/image/z/7823559-39-9.jpg?t=matlab%E5%AE%9A%E4%B9%89a%E6%89%93%E4%B8%AA%E6%AF%94%E6%96%B9+syms+a+%E5%AE%9A%E4%B9%89%E4%B8%80%E4%B8%AA%E5%8F%98%E9%87%8Fp1%3D%5Ba%2C0%2C0%5D+%E7%BB%99%E5%87%BA%E4%B8%80%E4%B8%AA%E5%90%91%E9%87%8Fnorm%28p1%29+%E5%AF%B9%E5%90%91%E9%87%8F%E6%B1%82%E6%A8%A1Undefined+function+or+method+%27norm%27+for+input+arguments+of+type+%27sym%27.%E6%98%AF%E6%88%91%E5%AE%9A%E4%B9%89%E7%9A%84%E4%B8%8D%E5%AF%B9%E5%90%97)
matlab定义a打个比方 syms a 定义一个变量p1=[a,0,0] 给出一个向量norm(p1) 对向量求模Undefined function or method 'norm' for input arguments of type 'sym'.是我定义的不对吗
matlab定义a
打个比方 syms a 定义一个变量
p1=[a,0,0] 给出一个向量
norm(p1) 对向量求模
Undefined function or method 'norm' for input arguments of type 'sym'.
是我定义的不对吗
matlab定义a打个比方 syms a 定义一个变量p1=[a,0,0] 给出一个向量norm(p1) 对向量求模Undefined function or method 'norm' for input arguments of type 'sym'.是我定义的不对吗
norm函数只是支持对数值向量进行计算,不能对符号变量进行计算