Please check following matlab codes for following equation is correct

1 回表示 (過去 30 日間)
VISHALI V
VISHALI V 2018 年 2 月 7 日
編集済み: Birdman 2018 年 2 月 7 日
clc;
clear all;
close all;
K=5;
N=16;
aa = 1000;
ba = 5000;
r = (ba-aa).*rand(5,1) + aa;
qq=10/10;
q=10^qq;
s = 0 + q.*randn(K,1);
v = s/10;
si=10.^v;
u=1;
a=3.8;
%r=real(r);
b=(u.*si)/(r.^a);
D=diag(b(1:K));
X=sqrt(D);
H = rand(N,K) + i*rand(N,K);
G=H * X;

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by