Octave Tutorial #2 - Basic Operation

  Рет қаралды 190,888

DrapsTV

DrapsTV

9 жыл бұрын

This is the second tutorial on Octave, looking at the basic operation of the interpreter. All Links and Slides will be in the description. Subscribe for more cool stuff!
Slides & files - www.mediafire.com/folder/eohq...
Octave Doc's - www.gnu.org/software/octave/d...
Octave - www.gnu.org/software/octave/
My Twitter: / drapstv
If you like what you see be sure to subscribe and thumbs up!

Пікірлер: 75
@user34274
@user34274 4 жыл бұрын
This is great! Thanks for putting in the effort to create these easy-to-understand tutorials. Highly appreciated !
@hiteshpatel1094
@hiteshpatel1094 6 жыл бұрын
the best tutorial for octave so far
@chimeforest
@chimeforest 4 жыл бұрын
A great intro! Something I found out, at 7:30, zero and ones also accept just 'n' and they will make a square matrix. So ones(3) will make a 3x3 matrix full of ones. Rand and randn will also accept just one input (to make a row) or none for a single output.
@neswill1124
@neswill1124 5 жыл бұрын
grazie mille a te per questa serie di video! semplici , chiari e puliti. nonostante sono italiano e me la cavo discretamente con l'inglese riesco a captare tutto ciò che dici. Complimenti DAVVERO !!!
@Muuip
@Muuip 7 жыл бұрын
Great presentation ! Very helpful, thank you!
@jassy4100
@jassy4100 3 жыл бұрын
Hi Very useful and correctly paced. I have a question once we use the same variable for 2 sets of matrices or vectors. How Octave will decide which variable to use in the next command involving them. Say S = [ 1:6] again S=[3:8] & T=[5:10] so S+T= will be calculated on which basis
@mosesdanielshihepo63
@mosesdanielshihepo63 3 жыл бұрын
Highly appreciated 👌👌👌👌
@allisonbenjamin6020
@allisonbenjamin6020 4 жыл бұрын
Thanks for the tutorial! One question: Why do you put the dot before the +/-* element-by-element operations? What is the difference between normal operations and element-by-element operations?
@mudassirbeautytips
@mudassirbeautytips 3 жыл бұрын
Same question (2)
@chandanmaurya3015
@chandanmaurya3015 3 жыл бұрын
Really helpful tutorial
@ChrisUbing
@ChrisUbing 4 жыл бұрын
In the slide describing the special matrices, please correct the caps on your commands. Octave only uses lower case here. Otherwise these tutorials are great!
@sinaa7562
@sinaa7562 4 жыл бұрын
Great Video!
@dql375
@dql375 7 жыл бұрын
Muito bom , obrigado por sua ajuda.
@hancock_str
@hancock_str 2 жыл бұрын
Me ajudou bastante!! Obrigada ♡💕
@mukomalothbrok2641
@mukomalothbrok2641 8 жыл бұрын
is Octave syntax exactly the same as MATLAB? what are the differences besides one coming with a GUI?
@DrapsTV
@DrapsTV 8 жыл бұрын
+Tinotenda Chemvura Octave was made with compatibility in mind. en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB
@yellowboxster06
@yellowboxster06 7 жыл бұрын
Nice job.
@reverendbluejeans1748
@reverendbluejeans1748 5 жыл бұрын
Is there a way to save execute a file as a script like in python. One of the few languages that encourage command line code building.
@enipirra8731
@enipirra8731 4 жыл бұрын
How can I replace elements of a vector using function "any"? Thank u
@lightningblade9347
@lightningblade9347 6 жыл бұрын
hi , I hope you are still alive lol , I'm asking you from the future : why did you add the dot in the matrices operations in the exemple m.\m etc ... instead of dividing , multiplying directly without adding the dots ?
@rachmalind
@rachmalind 7 жыл бұрын
thanks so helpful
@pushpajd2770
@pushpajd2770 3 жыл бұрын
sir how to write the last variable when we are adiing, if its an unrestricted search
@marco.nascimento
@marco.nascimento 3 жыл бұрын
This is perfect, thanks!! I'm doing Andrew Ng's Machine Learning on Coursera, but the tutorials there doesn't have much quality, as the course is somewhat old.
@ajahdheydydvseg
@ajahdheydydvseg 3 жыл бұрын
Me too
@mudassirbeautytips
@mudassirbeautytips 3 жыл бұрын
Me too
@victoria-gf4of
@victoria-gf4of 8 жыл бұрын
thank for the video .Can someone tell me why do you put a dot after the m . what for?
@DrapsTV
@DrapsTV 8 жыл бұрын
+victoria bellido The dot is to indicate that you wish to perform the operation on each element of the vector. :)
@victoria-gf4of
@victoria-gf4of 8 жыл бұрын
thank you ;now i understand
@DrapsTV
@DrapsTV 8 жыл бұрын
+victoria bellido Great ! :)
@prajwalwaingankar3636
@prajwalwaingankar3636 6 жыл бұрын
1 big question.... is it better than python for ML....???? which should we use for ML ....??? 2. When i mistype any word the cmd prompt closes down....Is it normal or if i hv done some mistake while the download .....!!!! ******** THANKS IN ADVANCE *********
@dhilkaran8503
@dhilkaran8503 6 жыл бұрын
sir i need to write a programm for a boundary value problem
@brandowsk
@brandowsk 5 жыл бұрын
Thank you
@thatdudeoverthere7286
@thatdudeoverthere7286 4 жыл бұрын
thanks man
@UniqueTech0098
@UniqueTech0098 4 жыл бұрын
thank you for nice tutorial, I am not sure but i checked that S (1, [1,2] ) is different with S(1,1:2) & S(1,:)
@opopopiddq
@opopopiddq 5 жыл бұрын
Thanks a lot
@subashghimire3450
@subashghimire3450 8 жыл бұрын
I want to solve the Eigen equation from octave. Equation is (V,L) = eig(M,N) where M,N are 4x4 matrices. can you please tell me how to solve the solution.
@yashjain3407
@yashjain3407 3 жыл бұрын
its easy
@orlandosanchez6865
@orlandosanchez6865 2 жыл бұрын
Nice
@thasneemmuthalib4003
@thasneemmuthalib4003 4 жыл бұрын
thanks a lot
@DharmikBhatt
@DharmikBhatt 6 жыл бұрын
What is the difference between rand and randn?
@drallisimo34
@drallisimo34 5 жыл бұрын
cool!!!
@rakeshKumar-gm6ie
@rakeshKumar-gm6ie 7 жыл бұрын
I did not understand the rand and randn command function,..any way THANK YOU for making the detailed tutorial for beginners..:)
@fudgesauce
@fudgesauce 8 жыл бұрын
At around 8 minutes in, you list some built in functions. Unfortunately, they are all capitalized, which won't work! eg, "Ones(n,m)" instead of "ones(n,m)". Also, like "eye", ones, zeros, rand, randn optionally take a single argument and produce a square array, eg zeros(n) is the same as zeros(n,n). The same thing happens around 14:30 -- the functions are shown capitalized. Still, minor quibbles. Thanks for taking the time to create these videos.
@DrapsTV
@DrapsTV 8 жыл бұрын
+fudgesauce ah damn! Powerpoint obviously capitalized each line... I normally check that too! I'm glad you liked the videos :)
@lmsk5178
@lmsk5178 8 жыл бұрын
I noticed it too, but it's not a big deal. Great videos!
@gototcm
@gototcm 6 жыл бұрын
Is there a GUI version?
@erwinfonseca9562
@erwinfonseca9562 4 жыл бұрын
very well
@AnilKumar-ve2yl
@AnilKumar-ve2yl 3 жыл бұрын
Hi sir ,your videos are great , please reply
@LebenWerden
@LebenWerden 3 жыл бұрын
You can solve ODE with Octave?
@rosellenaidoo8361
@rosellenaidoo8361 Ай бұрын
Hi, m. +m part I’m getting a syntax error, parse error. Any one able to assist ?
@knuckle8582
@knuckle8582 4 жыл бұрын
Construct a matrix of size 5x6 whose number field vary from 0 to 10
@alhamdullilahforeverything859
@alhamdullilahforeverything859 2 жыл бұрын
Please share the slides
@divyrajzala867
@divyrajzala867 Жыл бұрын
Siuuuuuuu
@TheChodex
@TheChodex 7 жыл бұрын
what does m.^m do? I don't understand how it works
@DrapsTV
@DrapsTV 7 жыл бұрын
m is out matrix, ^ mean 'to the power of' and . means element by element. so raise each element of *m* to the power of itself in *m*.
@TheChodex
@TheChodex 7 жыл бұрын
So if i got it right if matrix was A = [1 2; 3 4] then A^A would be [1^1 2^2; 3 ^3 4^4] = [1 4; 27 256]?
@DrapsTV
@DrapsTV 7 жыл бұрын
*A.^A* would indeed be [1, 4, 27, 256] _A^A_ would be a super complex matrix raised to a matrix. (math that I can't do without a computer or a fair few hours and a calculator.)
@TheChodex
@TheChodex 7 жыл бұрын
Thanks for help :D
@DrapsTV
@DrapsTV 7 жыл бұрын
Of course! It would be pretty terrible of me to not help you when you are trying to learn!
@antonistragoudaras1844
@antonistragoudaras1844 6 жыл бұрын
ai gamisssssssssss
@SofosDarkKnightGR
@SofosDarkKnightGR 6 жыл бұрын
Antonis Tragoudaras clear all
@Amine-wp8bm
@Amine-wp8bm 9 жыл бұрын
No more python?
@DrapsTV
@DrapsTV 9 жыл бұрын
amine marzouki Dark Code I have an Argparse Tutorial coming out after the Octave Series, which is to replace the now depricated Optparse tutorial in the advanced Python series. What other tutorial would you like to see? I also have a MechanicalSoup and Scrappy Tutorials for the Hacking with Python series coming.
@19stanislav03
@19stanislav03 9 жыл бұрын
DrapsTV Email spider in python.
@DrapsTV
@DrapsTV 9 жыл бұрын
Stanislav Nikolov oooh fun :)
@leelevi816
@leelevi816 8 жыл бұрын
Z=9 X=12 Y=20 sqrt(sqrt(Z^2+X^2)Y^2) ans my first
@leelevi816
@leelevi816 8 жыл бұрын
+lee levi thank you
@leelevi816
@leelevi816 8 жыл бұрын
+lee levi sqrt(sqrt(9^2+12^2)^2+20^2)
@gissellevargas3551
@gissellevargas3551 8 жыл бұрын
m.*m? Why do we put "." ?
@DrapsTV
@DrapsTV 8 жыл бұрын
the dot indicates to compute element by element arithmetic. so the first element of the left hand side will be multiplied against the first element of the right hand side. where as no "." will indicate normal matrix multiplication.
@jonatansleiers9021
@jonatansleiers9021 9 жыл бұрын
FRIST
@DrapsTV
@DrapsTV 9 жыл бұрын
Well done! :)
@berkaygurcan141
@berkaygurcan141 4 жыл бұрын
Thanks a lot
Octave Tutorial #3 - Loading, Saving & Using Data
11:24
DrapsTV
Рет қаралды 153 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 763 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 89 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 29 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 32 МЛН
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1 МЛН
Octave Tutorial #4 - Plotting Data
25:48
DrapsTV
Рет қаралды 156 М.
How I would learn to code (if I could start over)
10:52
PIRATE KING
Рет қаралды 1,3 МЛН
Octave Tutorial #3: Vectors for Absolute Beginners
8:37
Mr. STEM EDU TV
Рет қаралды 25 М.
Octave Tutorial #1: Getting Started for Absolute Beginners
7:40
Mr. STEM EDU TV
Рет қаралды 71 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 611 М.
Octave Tutorial #5 - Control Statements
14:05
DrapsTV
Рет қаралды 57 М.