how to solve the below code for graph plot

could anyone help me how to plot the graph for the following code as i am struggling from morning but unable to get the result so far.
Bmax=2000000; %maximum available bandwidth for OFDMA
noise=1e-9; %fixed noise power is assumed
p_fix=0.01;%fixed transmit power
N_UE=[ 1:10 1:20 1:30 1:40 1:50];no of users
N_SC=[ 1:60 1:70 1:80 1:90 1:100];no of subcarriers
throughput =((Bmax.*log(1+((p_fix).*C))./noise))
i want to plot the graph such that it should have 1:10 on xaxis and 1:60 on yaxis with respect to throughput on one graph, similarly it should be have 1:20 on xaxis and 1:70 on y axis with respect to throughput on other graph and so on till 1:50 on x axis and 1:100 on y axis.

Respuestas (1)

Walter Roberson
Walter Roberson el 5 de Dic. de 2017

0 votos

No, your throughput is a scalar, so it is meaningless to plot it on xaxis and yaxis of varying sizes.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Dic. de 2017

Respondida:

el 5 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by