找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1825|回复: 0
收起左侧

matlab convertChar报错

[复制链接]
ID:880711 发表于 2021-6-3 19:43 | 显示全部楼层 |阅读模式
错误使用 sym>convertChar (line 1548)
Character vectors and strings in the first argument can only specify
a variable or number. To evaluate character vectors and strings
representing symbolic expressions, use 'str2sym'.

出错 sym>tomupad (line 1255)
        S = convertChar(x);

出错 sym (line 222)
                S.s = tomupad(x);

出错 Untitled3 (line 2)
f1=sym('exp(-0.5*t)*(heaviside(t)-heaviside(t-2))');
一直在报错 想知道这个是什么意思

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表