No video

How to Write a MATLAB Program - MATLAB Tutorial

  Рет қаралды 564,037

MATLAB

MATLAB

Күн бұрын

Captions available in french and spanish.
Learn how to write a basic MATLAB program using Live Scripts and learn the concepts of indexing, if-else statements, and loops.
Learn more about MATLAB: goo.gl/8QV7ZZ
See what's new in the latest release of MATLAB and Simulink: goo.gl/pgGtod
Free MATLAB Trial: goo.gl/yXuXnS

Пікірлер: 134
@gregolatkaa
@gregolatkaa 3 жыл бұрын
This guy's energy just makes it so much easier to learn from a video compared to so many tutorials for other programs
@lilacs9848
@lilacs9848 3 жыл бұрын
@Avery Colton no one gives a single fuck, this is how people input their insta credentials and get themselves hacked. asshats
@greatcesari
@greatcesari 2 жыл бұрын
@@lilacs9848 You are right, except... this is an educational guide for a well established software tool created by the developers themselves, and not a "how to install _Game X_ for free" tutorial.
@ika_0420
@ika_0420 2 жыл бұрын
Correct... 💯
@owaisathar6225
@owaisathar6225 4 жыл бұрын
Been through a lot of tutorials,,, but this one is the best, as it explains everything without focusing too much on any of the boring concepts of programming ,,, Loved it
@johnwattson5042
@johnwattson5042 4 жыл бұрын
Respected Mr. Owais athar , I read your comments and I will suggest you to learn Matlab from the Matlab channel so that you may have better ideas related to programming applications. Matlab is a powerful tool, that is used in many engineering applications. I found the below channel useful for Matlab. kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@think3rofficial
@think3rofficial Жыл бұрын
With any other programming language, you’d be doing it by now
@urnoob5528
@urnoob5528 26 күн бұрын
@@think3rofficial fr
@1inspiration466
@1inspiration466 4 жыл бұрын
The best tutorials are long and detailed but feel short and simple. For me, this guy definitely accomplished that.
@gregoryfenn1462
@gregoryfenn1462 3 жыл бұрын
? It's 14 mins, is that long?
@Unaboner
@Unaboner 3 жыл бұрын
@@gregoryfenn1462 long for the small amount of concepts he covered
@EngineeringwithDrKelseyJoy
@EngineeringwithDrKelseyJoy 2 жыл бұрын
I like how this video starts in the MATLAB command window then moved into script files. I find that's really helpful too.
@KorbenDenver
@KorbenDenver 5 жыл бұрын
I love how you chose "The 5th Element"!
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
Thanks kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@lielgh6114
@lielgh6114 2 жыл бұрын
I wish all teachers were like him :( he is so cool guy
@unsung777
@unsung777 2 жыл бұрын
Thanks for a very straightforward tutorial. Cheers!
@kevinantony8247
@kevinantony8247 Жыл бұрын
Never seen anyone explain for loops and if statements very accurate
@abderrahimbelissaoui2739
@abderrahimbelissaoui2739 4 жыл бұрын
This is a good getting started especially for beginners. Me too, I just started making matlab teaching demos and many more.
@johnwattson5042
@johnwattson5042 4 жыл бұрын
Respected Mr. Abderrahim , I read your comments and I will suggest you to learn Matlab from the Matlab channel so that you may have better ideas related to programming applications. Matlab is a powerful tool, that is used in many engineering applications. I found the below channel useful for Matlab. kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@juan-andresward3144
@juan-andresward3144 5 жыл бұрын
Hugely appreciate this video. Made my lectures make a little more sense 👍🏼. Thanks.
@DrJALAGHARI
@DrJALAGHARI 2 жыл бұрын
Nice video with easy explanation.
@nic1060
@nic1060 2 жыл бұрын
Does anyone know who this guy is? I would love to find other content created by him. Love his teaching energy!
@danaelvalhor2063
@danaelvalhor2063 6 жыл бұрын
Thanks man =D It helped A LOT me to begin with matlab
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
Great kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@muhammadrayyan4389
@muhammadrayyan4389 2 жыл бұрын
why can't I get any result when I typed "randomwalk(3)" on my live editor?...instead, I got "unrecognized function or variable 'randomwalk'"
@MichaeldeGans
@MichaeldeGans Жыл бұрын
That's because he did not care to show or explain the randomwalk and numFlips functions that he already created before recording I guess.
@electronica-oscapy
@electronica-oscapy 3 жыл бұрын
What is the diference between script and live script? Thanks
@chukwuemekamba-onu7868
@chukwuemekamba-onu7868 3 жыл бұрын
you can google this; a detailed answer is posted on MATLAB answers. basically the live script is a better version of the script and only appears in versions from 2016b
@prajwalsetty99
@prajwalsetty99 6 ай бұрын
Explanation was very good
@lalitchetan4678
@lalitchetan4678 2 жыл бұрын
WHo is the guy? Make him do all the basic tutorials. he explains really well @MATLAB
@zahidullah1707
@zahidullah1707 6 жыл бұрын
really appreciable this video man. but one point i am confused about is randomwalk.
@KatB89
@KatB89 Жыл бұрын
The link to "latest on Matlab and Simulink" in the description may not be directing to the video that is intended
@menosproblemos6993
@menosproblemos6993 3 жыл бұрын
The reason why I clicked on this was for its length. The other tutorials where about 1h long... It's seriously hard to keep focus for that long. The command text was a bit too small for watching on my phone though. You could size that up for an easier read.
@muhammedshallal4132
@muhammedshallal4132 2 жыл бұрын
How can size up with galaxy mobile?
@muhammedshallal4132
@muhammedshallal4132 2 жыл бұрын
How can size up with galaxy phone?
@zinabeek4121
@zinabeek4121 4 жыл бұрын
hi, is randomwalk(n) a function ? i try it it´s not working!!
@TheLcp23show
@TheLcp23show 3 жыл бұрын
yeah i think randomwalk(n) is a function he already built for the purpose of the tutorial
@bibekrao57
@bibekrao57 3 жыл бұрын
@@TheLcp23show can you please attach any codes regarding this, I couldn't find the function
@dava12333
@dava12333 3 жыл бұрын
It would have been great if you showed the Lebron function. That would have been useful.
@jarboer
@jarboer 2 жыл бұрын
I know this is an old comment but I wanted the same so I created it. Here's the code which I put in a separate file: function total = randomwalk(steps) currentSteps = 0; count = 0; while currentSteps < steps coin = randi([1,2]); if coin == 1 currentSteps = currentSteps + 1; else currentSteps = currentSteps - 1; end count = count + 1; end total = count; end
@stud-op8df
@stud-op8df Жыл бұрын
@@jarboer function total = randomwalk(steps) ↑ Error: Function definition are not supported in this context. Functions can only be created as local or nested functions in code files.
@stellapateraki5528
@stellapateraki5528 4 жыл бұрын
love the discreet humour
@ruhinabegum3736
@ruhinabegum3736 6 жыл бұрын
sir, i have 5 variables, like A,B,C,D,E and i want to find 4 variables when A is constant , it is possible is matlab please answer me
@sakshisinghal1410
@sakshisinghal1410 2 жыл бұрын
A very good video for beginners
@muhammadanaskhan1151
@muhammadanaskhan1151 4 жыл бұрын
Its really good for beginners
@johnwattson5042
@johnwattson5042 4 жыл бұрын
Respected Mr. Muhammad Ana's khan , I read your comments and I will suggest you to learn Matlab from the Matlab channel so that you may have better ideas related to programming applications. Matlab is a powerful tool, that is used in many engineering applications. I found the below channel useful for Matlab. kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
Thanks
@gian3517
@gian3517 4 жыл бұрын
What is random walk? And how do I replicate it?
@okeowofelix4537
@okeowofelix4537 9 ай бұрын
Can you provide the function program because it seem not to be responding on my end
@beyondlimits8159
@beyondlimits8159 4 жыл бұрын
you sound like a minecraft youtuber. I assure you, this is a compliment
@etc_be_a_62harshshinde66
@etc_be_a_62harshshinde66 3 жыл бұрын
Hooray!
@aobamoca
@aobamoca 6 жыл бұрын
lebron traveled
@maipyaar
@maipyaar 4 жыл бұрын
Thank you. This helps
@homelessm8
@homelessm8 6 жыл бұрын
omfg thank you!!! this helps!!!
@bensonaddo5926
@bensonaddo5926 2 жыл бұрын
Hello sir, my name is David and I was wondering if u could help me with my Matlab assignment which I kinda find it a little bit hard to do
@BruceWayne-dr9zh
@BruceWayne-dr9zh 3 жыл бұрын
Amazing explaination
@AnGelo-nv1hx
@AnGelo-nv1hx 5 ай бұрын
Would have been awesome to if you had defined function randomewalk()...
@domingosmucuanha2449
@domingosmucuanha2449 3 жыл бұрын
Hi thanks for sharing this video. Is it possible to have a private tutoring? I really need this class in order to succeed in my course work.
@NareshKumar-bl3sy
@NareshKumar-bl3sy 5 жыл бұрын
Nice work in short time
@farn69
@farn69 3 жыл бұрын
Great tutorial
@deependrakumar6426
@deependrakumar6426 6 жыл бұрын
how to defiene random function????
@vedant6633
@vedant6633 5 жыл бұрын
Time is the key
@LaurenAnne6
@LaurenAnne6 3 жыл бұрын
Great video!!
@ac_nhi_cooler_hun
@ac_nhi_cooler_hun 7 ай бұрын
what is the randomwalk function, please help me I have an assignment due in 3 days
@AnGelo-nv1hx
@AnGelo-nv1hx 5 ай бұрын
was wondering the same... have you ever found it?
@ginavoiceover517
@ginavoiceover517 4 жыл бұрын
It's purry easier to write a program from scratch but how abt findig an existing one and try to implement it i think it's the chalenge.
@fauzansyauqi2815
@fauzansyauqi2815 3 жыл бұрын
I dont get why he put (',' 's') in for else statement
@chukwuemekamba-onu7868
@chukwuemekamba-onu7868 3 жыл бұрын
I tried running the code without "(....., 's')" and it gives an error. I wonder what it's for
@fauzansyauqi2815
@fauzansyauqi2815 3 жыл бұрын
@@chukwuemekamba-onu7868 ya thanks mate, I do realize after that
@pritomroy2465
@pritomroy2465 2 жыл бұрын
I thought R is running in a markdown document.
@shamalkumar7869
@shamalkumar7869 3 жыл бұрын
R.I.P. Lebron
@jeannettecollins2903
@jeannettecollins2903 4 жыл бұрын
thanks! interesting and easy to learn!
@mariad1898
@mariad1898 7 жыл бұрын
Muchas gracias.
@hfizhaikal8186
@hfizhaikal8186 4 жыл бұрын
Thank you for the video
@omarel-ghezawi6466
@omarel-ghezawi6466 Жыл бұрын
Excellent!
@user-wm5pj1qh3y
@user-wm5pj1qh3y 4 ай бұрын
I am inspired to learn matlab
@maryanbaraou6841
@maryanbaraou6841 6 жыл бұрын
You do nice job ty frero
@sypher294
@sypher294 Жыл бұрын
Hot take: less comments, more well named variables!
@pravinpalve3771
@pravinpalve3771 5 жыл бұрын
%nice video man
@giannisloukovitis1256
@giannisloukovitis1256 7 жыл бұрын
that was nice. Thanks
@akaaleem2980
@akaaleem2980 2 жыл бұрын
video ets blurred at 4:15 mins
@leonardmabele7446
@leonardmabele7446 6 жыл бұрын
This works from what version of MATLAB. R2015a does not have the Live Scripts ...
@rijalyodha4703
@rijalyodha4703 6 жыл бұрын
LEONARD MABELE p ppl pl
@gopaltalukder441
@gopaltalukder441 4 жыл бұрын
How can i write anfis matlab code
@Falkenbergo
@Falkenbergo 3 жыл бұрын
R.I.P Lebron
@bantunitdgp
@bantunitdgp 4 жыл бұрын
Starting with MATLAB. Beginner's Guide: kzbin.info/aero/PLsEIbHOtypISXCOtq8dcVlSFiJ_SPHdtx
@rforrohitarorasirclasses6500
@rforrohitarorasirclasses6500 3 жыл бұрын
Very nice
@meizaldiestu3055
@meizaldiestu3055 5 жыл бұрын
please make a biogas production simulation tutorial using matlab
@dayanandselvarajan8819
@dayanandselvarajan8819 5 жыл бұрын
Hi, did you get any info or methods to simulate biogas production ?
@meizaldiestu3055
@meizaldiestu3055 5 жыл бұрын
Dayanand Selvarajan You can see the method used for biogas simulation in journals, can you make the program in the Matlab if there is a method?
@sureshbabu-nt3iz
@sureshbabu-nt3iz 3 жыл бұрын
Write a MATLAB code to plot 3 sinusoids (1 cosine and 2 sines) with respect to time. The cosine signal is the first harmonic having an amplitude = 10 V and frequency = 50 Hz, while the rest two are 3rd and 5th harmonics having amplitudes of 3 V and 1 V respectively. The total duration of the plot should be equal to 5 cycles of the 1st harmonic along with corresponding no. of cycles of the other two. In the same figure, plot the sum of these 3 sinusoids as well. The total no. of sample points of these graphs should be 1000. All these waveforms should have different colours and a legend box should be available inside the plot to show the names of these 4 waveforms. The axes (both X & Y) of the plot should have proper labels and there should be grid lines as well. u know the answer??
@zhiwarsami5737
@zhiwarsami5737 6 жыл бұрын
very useful thanks very very much .
@fiveoneecho
@fiveoneecho 5 жыл бұрын
Not going to lie, I'm not a huge fan of how this is like a weird combination of C-based languages, Lua, and Swift all at once...
@shrikantstu4725
@shrikantstu4725 6 жыл бұрын
new section not working on r2017a version
@annasahebdhon9090
@annasahebdhon9090 5 жыл бұрын
Sir plz help me for my Matlab code. Facial expressions recognition
@johnwattson5042
@johnwattson5042 4 жыл бұрын
Respected Mr. annasaheb, you need to lean machine learning. I read your comments for facial expressions recognition and I will suggest you to learn Matlab from the Matlab channel so that you may have better ideas related to programming applications. Matlab is a powerful tool, that is used in many engineering applications. I found the below channel useful for Matlab. kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@DAECAkashKR
@DAECAkashKR 3 жыл бұрын
for i = 1:10000000 disp ("thank you") end
@Ryaaan_n
@Ryaaan_n Ай бұрын
omg your comment really helps me understand the concept better after typing the code into the command window of Matlab...THANKS😂
@Ohlookitsajosh
@Ohlookitsajosh 5 жыл бұрын
Step 3: Profit
@pegcailla4625
@pegcailla4625 4 жыл бұрын
shift + > * 3
@tariqzk6964
@tariqzk6964 3 жыл бұрын
just like any programming language, things go downhill after learning loops.
@slokisofttech5958
@slokisofttech5958 6 жыл бұрын
brilliant
@xuanji176
@xuanji176 2 жыл бұрын
hooray!!
@shenshen0821
@shenshen0821 6 жыл бұрын
aww man Lols!
@ahmednaji9065
@ahmednaji9065 Жыл бұрын
very fast your explanation dear
@jorginhoapmyou
@jorginhoapmyou 7 жыл бұрын
hooray!
@honantong
@honantong 6 жыл бұрын
Hooray
@RahulKumar-vr4cm
@RahulKumar-vr4cm 6 жыл бұрын
MATLAB.MATLAB.
@thealphazero_
@thealphazero_ 2 жыл бұрын
"aww man"
@Hoppitot
@Hoppitot 4 жыл бұрын
y
@leonhardeuler9839
@leonhardeuler9839 6 жыл бұрын
MATLAB is similar to Python
@seggetauli6644
@seggetauli6644 5 жыл бұрын
Interessante, video in italiano disponibili qui: kzbin.info/www/bejne/epfKmaZ4Yqybd6s
@blackspitit
@blackspitit 3 жыл бұрын
Matlab is the worst language programming that I have tried. And besides university, nobody is using it.
@blackspitit
@blackspitit 2 жыл бұрын
@Rosetta Stoned It sounds pretty stupid defining someone's career path for their language programming preferences. Using Matlab is mainly limited to research and teaching, but there are other LP that are much better and flexible than Matlab that are actually used for research purposes. I've worked with several LP but Matlab annoys me like any other. Arts requires thinking and someone needs to be smart in order to be a good artist. Working in research doesn't necessarily make you smart but it can also make one a stupid mediocre researcher.
@shahdadkotjoawaz2749
@shahdadkotjoawaz2749 3 жыл бұрын
#mirtechsolution's
@seggetauli6644
@seggetauli6644 5 жыл бұрын
Molto interessante, suggerisco anche il corso grautito di "Corsi Consulenze NPR", kzbin.info/www/bejne/pJSUq55meaZ9pJI
Differences between C and MATLAB (Kevin Lynch)
7:31
Northwestern Robotics
Рет қаралды 73 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 427 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Before VS during the CONCERT 🔥 "Aliby" | Andra Gogan
00:13
Andra Gogan
Рет қаралды 10 МЛН
MATLAB Tutorial
1:17:33
Derek Banas
Рет қаралды 281 М.
MATLAB Crash Course for Beginners
1:57:45
freeCodeCamp.org
Рет қаралды 703 М.
MATLAB for New Users
52:19
MATLAB
Рет қаралды 124 М.
The BEEFY mini PC - Minisforum AtomMan G7 PT
12:40
ShortCircuit
Рет қаралды 189 М.
Working with Arrays in MATLAB
8:21
MATLAB
Рет қаралды 217 М.
Signal Processing with MATLAB
21:11
Opti-Num Solutions
Рет қаралды 106 М.
Image Processing Made Easy - Previous Version
38:40
MATLAB
Рет қаралды 501 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 427 М.