Feeds
提问
phase shift of waveform
function A= signal (u) t=u(1); f=50; w=2*pi*f; Va=cos(w*t); 't' is time obtained from simulink I want 'Va' shifted by -90 d...
7 years 前 | 0 个回答 | 0
0
个回答提问
similar code for various values of k in a for loop?
m=2 T=[1 0 0; 0 (1/sqrt(2)) (1/sqrt(2))]; V1=0.956 V2=2.4 for k=1:3 if k==1 A=[ 0 1 0]; B=[0 1 1]...
8 years 前 | 1 个回答 | 0
1
个回答提问
matric "c" and "d" out of for loop and c row matrix corresponding to minimum distance
m=2 T=[1 0 0; 0 (1/sqrt(2)) (1/sqrt(2))]; V1=0.956 V2=2.4 A=[ 1 0 0]; B=[1 1 0]; D=B-A; d1=m*...
8 years 前 | 1 个回答 | 0
1
个回答提问
matrix corresponing to the minimum value of the difference
m=2 t=[1 0 0; 0 (1/sqrt(2)) (1/sqrt(2))]; v1=0.956 v2=2.4 a=[ 0 1 0]; b=[0 1 1]; p=b-a; d1=m*...
8 years 前 | 1 个回答 | 0
1
个回答提问
c row matrix corresponding to the minimum value of the distance of the matrix
m=3; t=[1 0 0; 0 (1/sqrt(2)) (1/sqrt(2))]; v1=0.24; v2=0.956; a=[ 1 1 0]; b=[0 1 0]; p=b-a; d1=m*a; fo...
8 years 前 | 1 个回答 | 0
1
个回答提问
store matrix and the row matrix that corresponds to the smallest distance?
f=[2 1 1]; m=3; A=[ 1 0 0]; B=[1 1 0]; D=B-A; d1=m*A; for X=1:1:m+1 C=d1+D*(X-1); ...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to store the matrix from for loop?
m=3; A=[ 1 1 0]; B=[0 1 0]; D=B-A; d1=m*A; for X=0:1:m C=d1+D*X end
8 years 前 | 2 个回答 | 0