how can I plot y=log(2,(2-a)) ?
Mostrar comentarios más antiguos
How can I plot y = log(2,(2-a) in matlab: I have written this code but unfortunately I encounter with errors:
a = 0:0.2:1;
C_ro = plot(-(a./2).*log(2,a./2) - ((2 - a)./2).*log(2,(2 - a)./2));
plot(a, C_ro)
1 comentario
Azzi Abdelmalek
el 26 de Ag. de 2013
What is log(a,b)?
Respuesta aceptada
Más respuestas (1)
Osama AlThahab
el 26 de Ag. de 2013
0 votos
your code is wrong, remove plot from C_ro
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!