Recent content by eulergy

  1. E

    MATLAB Can one repeat a matlab script from the beginning?

    Thanks! Such a simple and now obvious solution haha.
  2. E

    MATLAB Can one repeat a matlab script from the beginning?

    For one of my classes, our project is to write a script that simulates the game of craps. I have no problem with the actual game, but one of the criteria is that after the player wins or loses, we are supposed to prompt them to quit or play again (this is where I'm stuck). Is there a command...
  3. E

    MATLAB How to Make Matlab Output Zero Coefficients in f=2x^2+1?

    My first thought would be that you'd need to have f = 2x^2 + 0x + 1 because with what you have f as right now, MATLAB doesn't know that the x coefficient is 0 if it's not explicitly typed. Then again I'm no expert so there's a good chance I'm wrong, just a thought.
Back
Top