Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Writing a MATLAB Program

Loading...

Sign in or sign up now!
189,610
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 18, 2009

Write a MATLAB program, including creating a script and a function. Download code and watch other videos at http://mathworks.com/video

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (MATLAB)

  • Yes, see information on the MATLAB Compiler.

  • Google "matlab cublic splines" and see the first link. (You can't include links in replies).

  • i'm trying to remove the top half of the rows of a row-by-col vector/array. can anyone tell me how that's done in a function?

  • Googling working+with+arrays+matlab should find you some good resources such as the "Working with Arrays" video.

  • Using the colon operator (e.g. x=1:1000), generates as row vector.

    The example plots multiple lines by storing all the data in a matrix and calling the plot command once. When you plot a matrix, the plot command treats each *column* as a seperate line series to plot, therefore the data had to be stored as columns.

    You could also have transposed the whole matrix before plotting, or plotted each row vector one at a time in a for loop.

  • how can diffirentiate this functin x^3-x^2-1 using diff function in matlab..

  • You need the Symbolic Toolbox to (symbolically) differentiate functions (to get 3x^2 -2x in this case).

Top Comments

  • EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEE

    EEEEEEEEEEE

    EEEEEEEEEEEEEEEEEEEEEEEEEEEE

    EEEEEEEEEEEE

    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEe

  • E's? What? EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEE What the Fuck!

see all

All Comments (61)

Sign In or Sign Up now to post a comment!
  • Connie! how do i use matlab?

    Connie flips computer and it says E

  • This video shows some basic skills or the fundamental steps using the Matlab, such as using the command window and save a M-file. However, it is very useful for the beginners to learn how to start using the Matlab software quickly. This video is worthy to watch.

  • @kaRanRoyaLjaNissaRy mcdonalds

  • Loving it.

  • but you seem pretty angry over my comment. Is there something you want to talk about cause, heh, your post is saturated in straight up hate

  • @jaffey2006 Read it over, I didn't mention anything about my intelligence, I just wanted to convey what a powerful tool matlab is and how I was amazed at what it could do.

  • @reepermaple Cool, nobody on here cares. But thanks for self-validating your ego by telling people you don't know about how "smart" you are. If you were actually all that smart you wouldn't have to make comments on here to make people believe you are.

  • I cant do it... Theres no words there! EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE­EEEEEEEEEEEEEEEEEE!

    FUCK IT I CANT DO IT!

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more