how to write matlab code for the below equations

3 次查看(过去 30 天)
for k=1:k gnew=ctranspose(gk); gnew end n=log10(-17); N0=10^n nk=0+N0.*randn(k,1); for k=1:k sk=input('enter transmit symbol rate'); pk=input('enter transmit power '); dk=sqrt(pk)*gnew*vk*sk; end

采纳的回答

Birdman
Birdman 2018-1-31
Following may help you to start what you are doing:
k=5;syms t
y=sym('y',[1 k]);
p=sym('p',[1 k]);
v=sym('v',[1 k]);
s=sym('s',[1 k]);
n=sym('n',[1 k]);
g=sym('g',[1 k]);
y=sqrt(p).*g.*v.*s+symsum(sqrt(p).*g.*v.*s+n,t,1,k)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Wireless Communications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by