matlab出现Matrix dimensions must agreeclear all;close all;t=20:0.025:150;p=5026005930031649319/204722193144217600000*cos(2/31*pi*conj(t)-21561/10000)*pi.*(-1./t.*conj(t)+2*abs(1,t)./signum(t));plot(t,p);zh(:,1)=p;save D:\power.dat zh -ASCII请问
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 10:08:29
matlab出现Matrix dimensions must agreeclear all;close all;t=20:0.025:150;p=5026005930031649319/204722193144217600000*cos(2/31*pi*conj(t)-21561/10000)*pi.*(-1./t.*conj(t)+2*abs(1,t)./signum(t));plot(t,p);zh(:,1)=p;save D:\power.dat zh -ASCII请问
matlab出现Matrix dimensions must agree
clear all;
close all;
t=20:0.025:150;
p=5026005930031649319/204722193144217600000*cos(2/31*pi*conj(t)-21561/10000)*pi.*(-1./t.*conj(t)+2*abs(1,t)./signum(t));
plot(t,p);
zh(:,1)=p;
save D:\power.dat zh -ASCII
请问必须怎么修改表达式才能使矩阵维度一样呢?
matlab出现Matrix dimensions must agreeclear all;close all;t=20:0.025:150;p=5026005930031649319/204722193144217600000*cos(2/31*pi*conj(t)-21561/10000)*pi.*(-1./t.*conj(t)+2*abs(1,t)./signum(t));plot(t,p);zh(:,1)=p;save D:\power.dat zh -ASCII请问
我的错误怎么是
? Error using ==> abs
Too many input arguments.
abs()函数有问题吧,目测其他地方正常.