how to write matlab code for the below equations

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

 Réponse acceptée

Birdman
Birdman le 31 Jan 2018
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)

Plus de réponses (0)

Catégories

En savoir plus sur Signal Processing dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by