I'm a beginner in matlab. I would like to plot a function as function in frequency..
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
abdelmounim HMAMOU
el 3 de Mzo. de 2021
Comentada: abdelmounim HMAMOU
el 3 de Mzo. de 2021
my function is:
capacity(fk)=deltaf*sum*sum [log2(1-PTx(fk)*lamdai(fk)*/(M(fk)*N))];
plot(fk,capacity) f=(1:100MHz)
Where M is the number of transmit ports, lamdai denote the eigenvalues of HH, H(f) is the MIMO-PLC channel matrix and the superscript H represents the matrix Hermitian.
thank you.
0 comentarios
Respuesta aceptada
David Hill
el 3 de Mzo. de 2021
f=1:100e6;
capacity=(@f) ;%you need to describe your equation better. The sum*sum is confusing and the size of each variable should be noted
plot(f,capacity(f));
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!