Error in '''''Invalid first data argument''''
Show older comments
x=0:5:40; plot(x,C1,'g','-','linewidth',2); xlabel('P[dB]'); ylabel('secerecy rate'); grid on; C1 also a set of values with length same of x
7 Comments
madhan ravi
on 29 Aug 2018
Can you format your code by pressing the code button.
Adam
on 29 Aug 2018
If you get an error please paste in the full error message.
ragini k
on 29 Aug 2018
KALYAN ACHARJYA
on 29 Aug 2018
Define C1?
ragini k
on 29 Aug 2018
madhan ravi
on 29 Aug 2018
Edited: madhan ravi
on 29 Aug 2018
plot(x,C1,'-g','linewidth',2) you were using the line marker incorrectly. The rest of the codes were perfect.
ragini k
on 29 Aug 2018
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!
