how to write matlab code for the below equations

1 Ansicht (letzte 30 Tage)
VISHALI V
VISHALI V am 31 Jan. 2018
Beantwortet: Birdman am 31 Jan. 2018
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

Akzeptierte Antwort

Birdman
Birdman am 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)

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by