错误使用 .* 矩阵维度必须一致问题
来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/11/10 18:37:58
错误使用 .* 矩阵维度必须一致问题
function y1 = zhexian( x )
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
x=x/max(x);
z=sign(x);
x=abs(x);
for i=1:length(x)
if((x(i)>0)&(x(i)=1/64)&(x(i)=1/32)&(x(i)=1/16)&(x(i)=1/8)&(x(i)=1/4)&(x(i)=1/2)&(x(i)
function y1 = zhexian( x )
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
x=x/max(x);
z=sign(x);
x=abs(x);
for i=1:length(x)
if((x(i)>0)&(x(i)=1/64)&(x(i)=1/32)&(x(i)=1/16)&(x(i)=1/8)&(x(i)=1/4)&(x(i)=1/2)&(x(i)
t=0:0.001:2*pi;
w=1;
N=[1 3 5 7 9 11];
k=1;
while k
w=1;
N=[1 3 5 7 9 11];
k=1;
while k