matlab中expand问题>> syms x y;>> expand((x-2)*(x-4))>>expand(cos(x+y))>>expand(exp((a+b)^2))ans =x^2 - 6*x + 8 得出:>>expand(cos(x+y))|Error: Unexpected MATLAB operator. >> >>expand(exp((a+b)^2))得出: >>expand(exp((a+b)^2))|Error: Unexpect
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/14 15:10:12
matlab中expand问题
>> syms x y;
>> expand((x-2)*(x-4))
>>expand(cos(x+y))
>>expand(exp((a+b)^2))
ans =
x^2 - 6*x + 8
得出:
>>expand(cos(x+y))
|
Error: Unexpected MATLAB operator.
>> >>expand(exp((a+b)^2))
得出:
>>expand(exp((a+b)^2))
|
Error: Unexpected MATLAB operator
两个问题应该是一样的,求解答,要怎么做才能让它可以运行?
运行后没有问题,在Matlab2010a通过.请问你使用的版本是多少?
>> syms x y;
>> expand((x-2)*(x-4))
ans =
x^2-6*x+8
>> expand(cos(x+y))
ans =
cos(x)*cos(y)-sin(x)*sin(y)
>> expand(exp((x+y)^2))
ans =
exp(x^2)*exp(x*y)^2*exp(y^2)
matlab中expand问题>> syms x y;>> expand((x-2)*(x-4))>>expand(cos(x+y))>>expand(exp((a+b)^2))ans =x^2 - 6*x + 8 得出:>>expand(cos(x+y))|Error: Unexpected MATLAB operator. >> >>expand(exp((a+b)^2))得出: >>expand(exp((a+b)^2))|Error: Unexpect
关于matlab函数的参数加不加引号的问题matlab中,有的函数调用时参数需要加上单引号,比如solve()函数,而有的函数却不加单引号比如expand(),到底什么时候加呢,
expand
expand
expand/
谁能告诉我matlab中下列代码是干嘛用的for sx=ScaleX for sy = ScaleY [InitRect1, Blocks1] = scaleWindow(InitRect, Blocks, sx, sy, Margin); if InitRect1(1) > 0 && InitRect1(2) > 0 && InitRect1(3)
matlab 中的expand和collect函数有什么区别
matlab 使用quad函数对f1计算数值积分结果,怎么修改啊?句柄函数也创建了呀,是不是路径有问题f1=@(t)(sin(t)^2*exp(0.1*t)-0.5*abs(t))function y=sy(t)%SY y=(sin(t).^2*exp(0.1*t)-0.5*abs(t)y=(sin(t).^2*exp(0.1*t)-0.5*abs(t) q
matlab 中如何求解线性规划问题
matlab中三次样条插值能解决什么问题?
请教Matlab中SVM回归预测问题
matlab问题
matlab问题
在report painter 中 expand 是什么作用?谢谢
怎样随机给matlab中矩阵的一个元素赋值matlab中矩阵问题
matlab中有关mean的问题matlab中mean(mean(mean(I))) I是一幅彩色图像
sy是什么意思
sy是什么意思