Octave Tutorial #8: Writing Scripts and Functions for Absolute Beginners

  Рет қаралды 34,863

Mr. STEM EDU TV

Mr. STEM EDU TV

Күн бұрын

Matlab/Octave tutorial for writing scripts and functions for absolute beginners.
Please feel free to make any comments, and subscribe and thumbs up if you like the video.
Video content with timestamp:
00:00 - Intro
00:55 - What are scripts and functions?
02:30 - Write a script
07:21 - Write a function
14:26 - Write a nested function
#Octave #Matlab #Script # Function
Facebook link: / stem.edu.94
Other Octave Tutorial Videos:
1. Getting Started for Absolute Beginners
KZbin Link: • Octave Tutorial #1: Ge...
2. Variables for Absolute Beginners
KZbin Link: • Octave Tutorial #2: Va...
3. Vectors for Absolute Beginners
KZbin Link: • Octave Tutorial #3: Ve...
4. Matrices and Indices for Absolute Beginners
KZbin Link: • Octave Tutorial #4: Ma...
5. Matrix Operations for Absolute Beginners
KZbin Link: • Octave Tutorial #5: Ma...
6. Scatter and Line Plotting for Absolute Beginners
KZbin Link: • Octave Tutorial #6: Sc...
7. First 5 Things to Do For Productive Working Environment
KZbin Link: • Octave Tutorial #7: Fi...
8. Writing Scripts and Functions for Absolute Beginners
KZbin Link: • Octave Tutorial #8: Wr...
9. Save/Load Variables in Workspace and Use Variable Editor for Absolute Beginners
KZbin Link: • Octave Tutorial #9: Sa...
10. Plot different types of plots for Absolute Beginners
KZbin Link: • Octave Tutorial #10: P...
11. Conditional Statements for Absolute Beginners (Letter Grade Assignment)
KZbin Link: • Octave Tutorial #11: C...
12. For Loop Statements for Absolute Beginners (BMI Calculation)
KZbin Link: • Octave Tutorial #12: F...
13. Big Data Analytic Basics
KZbin Link: • Big Data Analytic Basi...
14. While Loop Statements for Absolute Beginners (Countdown Timer)
KZbin Link: • Octave Tutorial #13: W...
15. Display Even or Odd Numbers Only
KZbin Link: • Matlab/Octave Tutorial...
16. Plot Multiple Curves in Same Figure
KZbin Link: • Matlab/Octave Tutorial...
17. Common Errors and How to Fix
KZbin Link: • Octave Tutorial #14: W...
18. Learn GNU Octave in 1 hr 30 min
KZbin Link: • Matlab Tutorial for Ab...
19. Solve Polynomial Equations
KZbin Link: • Octave Tutorial #15: S...
Math Tutorial Videos:
Solve Linear Equations (2 Unknowns), 5 min Exam Prep!
KZbin Link: • Solve Linear Equations...
Find Determinant of 3x3 Matrix (5 min Exam Prep)! Easy Visual Memory Included!
KZbin Link: • Find Determinant of 3x...
How to Solve Systems of Linear Equations (3 Unknowns, 3 x 3 Matrix), 10 min Exam Prep!
KZbin Link: • How to Solve Systems o...
Learn Sum of First N Numbers in 3 Min!
KZbin Link: • Learn Sum of First N N...

Пікірлер: 24
@mr.stemedutv5514
@mr.stemedutv5514 3 жыл бұрын
Hope this tutorial video is useful for you who would like to learn Matlab and GNU Octave, and please let me know if you have any questions and comments! Corrections: 0:30 "r" (radius) in the diagram should be "d" (diameter). 12:09 "r" (radius) in the diagram should be "d" (diameter).
@ml_bowes
@ml_bowes 2 жыл бұрын
Thank you so much for these tutorials, its helping me a ton in my class
@fernando2135
@fernando2135 3 жыл бұрын
It was very useful, thanks
@steephenpaul6564
@steephenpaul6564 3 жыл бұрын
Thank you sir, very much useful
@muzzzculer
@muzzzculer Жыл бұрын
Thanks for doing that!
@taha.al-dulaimi1461
@taha.al-dulaimi1461 Жыл бұрын
Thank you .
@IoTbyJacky
@IoTbyJacky 8 ай бұрын
Thank​ you​ sir
@enriquefernandez6212
@enriquefernandez6212 Жыл бұрын
Very good
@ilyessbouabid6395
@ilyessbouabid6395 Жыл бұрын
thanks
@MathsLearningSpace
@MathsLearningSpace 3 жыл бұрын
@9:50 This is the problem with Camtasia, if you use clip speed on a certain portion of time line it changes your voice. better to re record voice in those portions where you are using clip speed. This is suggestion for you. However, this is a great video. There is also one error @12:09 in figure radius r is shown wrong that is diameter.
@mr.stemedutv5514
@mr.stemedutv5514 3 жыл бұрын
For the clip speed, I did not adjust my voice speed on purpose for fun :). Also, I think the formula for the surface area and volume of sphere are reasonable, please check here. Thanks for watching this video and making thoughtful comments.
@MathsLearningSpace
@MathsLearningSpace 3 жыл бұрын
@@mr.stemedutv5514 At the very first I was having the same idea... this is for fun... Regarding formula it is correct but fin figure of circle r is representing circle but by human error you just shown diameter the circle as r. You are doing great dear....
@mr.stemedutv5514
@mr.stemedutv5514 3 жыл бұрын
@@MathsLearningSpace Got it for the radius in the figure. It was a mistake. Thanks for caching it up.
@gabriellopeslima6105
@gabriellopeslima6105 2 жыл бұрын
Great video!! One doubt, how can I create a function that receives some image and show the image?
@mr.stemedutv5514
@mr.stemedutv5514 2 жыл бұрын
I think you can use imread() and imshow() functions. Hope this helps.
@sabkascience
@sabkascience 3 жыл бұрын
If I use any other name instead of fn_arearect.m, like rect.m will the program still run or we have to save the .m file using the same name as the function @10:21
@mr.stemedutv5514
@mr.stemedutv5514 3 жыл бұрын
you can use any m file name, but you need to call it from the command window using the file name that you chose. hope this helps.
@therisadamarla7722
@therisadamarla7722 8 ай бұрын
sir can please do a video how to connect api with octave and how to use api url in octave plzzzzzzzzzzzzzzzzzzzzzzzzz
@zeferreira8805
@zeferreira8805 2 жыл бұрын
Hi, just one doubt, is it possible to define more than 1 function on one file. I've tried some things, and the function only works if it has the same name as the file.
@mr.stemedutv5514
@mr.stemedutv5514 2 жыл бұрын
Hi, I guess you can find the answer for your question in this video. Hope this helps. Please feel free to ask any other questions.
@liutom8220
@liutom8220 2 жыл бұрын
Why when I typr enter when writing on the editor, the previous script will dissapear? and when I write in the second column, the first column is copying what i wrote on the second column?
@liutom8220
@liutom8220 2 жыл бұрын
I don't know why my editor is operating differently than yours
@mr.stemedutv5514
@mr.stemedutv5514 2 жыл бұрын
Sorry, I do not have a good answer for your question, since it never happens to me.
@mr.stemedutv5514
@mr.stemedutv5514 2 жыл бұрын
Perhaps, you can uninstall the old version and reinstall the latest version 7.1.0. Hope this helps.
Octave Tutorial #6: Scatter and Line Plotting for Absolute Beginners
18:31
Octave Programming Lesson 4.1 - Script File Basics
15:14
Hanshaw Virtual University
Рет қаралды 7 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 4,6 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН
Octave Tutorial #1: Getting Started for Absolute Beginners
7:40
Mr. STEM EDU TV
Рет қаралды 71 М.
Read Data from text and csv Files using GNU Octave and Matlab
10:55
Mr. STEM EDU TV
Рет қаралды 16 М.
Octave Tutorial #3: Vectors for Absolute Beginners
8:37
Mr. STEM EDU TV
Рет қаралды 25 М.
MATLAB Files -- Scripts and Functions
23:35
MATLAB Programming for Numerical Computation
Рет қаралды 235 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 15 МЛН