how to write matlab code for the below equations
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Birdman
on 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)
0 Comments
More Answers (0)
See Also
Categories
Find more on Wireless Communications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!