New to MATLAB!! Here is the assignment!
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I'm trying to develop a MATLAB program that allows you to plot the entropy of a source with variable output probabilities. Look under the * Prelab* Here is an image of the code, I don't really understand it, can you explain it to me?

3 Comments
@Jonathan Diaz: you wrote some code, and you want someone to explain your own code to you?
Usually people try to write code that they understand: it makes it much more reliable.
Note that saving or altering code in any program installation directory is an extremely bad idea.
Steven Lord
on 24 Apr 2017
I strongly recommend you avoid storing your code in the bin directory of your MATLAB installation. Put it in your documents folder, C:\Users\das\Documents, or a subdirectory dedicated to storing your homework solutions, like C:\Users\das\Documents\homework.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!