How to Write a MATLAB Program - MATLAB Tutorial

  Рет қаралды 558,077

MATLAB

MATLAB

6 жыл бұрын

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

Пікірлер: 133
@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
@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
@unsung777
@unsung777 2 жыл бұрын
Thanks for a very straightforward tutorial. Cheers!
@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.
@juan-andresward3144
@juan-andresward3144 5 жыл бұрын
Hugely appreciate this video. Made my lectures make a little more sense 👍🏼. Thanks.
@lielgh6114
@lielgh6114 2 жыл бұрын
I wish all teachers were like him :( he is so cool guy
@KorbenDenver
@KorbenDenver 4 жыл бұрын
I love how you chose "The 5th Element"!
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
Thanks kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@kevinantony8247
@kevinantony8247 Жыл бұрын
Never seen anyone explain for loops and if statements very accurate
@DrJALAGHARI
@DrJALAGHARI 2 жыл бұрын
Nice video with easy explanation.
@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
@danaelvalhor2063
@danaelvalhor2063 6 жыл бұрын
Thanks man =D It helped A LOT me to begin with matlab
@ProgrammingwithFawadKhan
@ProgrammingwithFawadKhan 4 жыл бұрын
Great kzbin.info/door/rWVyY81cjpL460aHNV3RXA
@prajwalcsetty997
@prajwalcsetty997 4 ай бұрын
Explanation was very good
@zahidullah1707
@zahidullah1707 5 жыл бұрын
really appreciable this video man. but one point i am confused about is randomwalk.
@homelessm8
@homelessm8 5 жыл бұрын
omfg thank you!!! this helps!!!
@sakshisinghal1410
@sakshisinghal1410 2 жыл бұрын
A very good video for beginners
@maipyaar
@maipyaar 4 жыл бұрын
Thank you. This helps
@nic1060
@nic1060 2 жыл бұрын
Does anyone know who this guy is? I would love to find other content created by him. Love his teaching energy!
@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
@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.
@mariad1898
@mariad1898 6 жыл бұрын
Muchas gracias.
@BruceWayne-dr9zh
@BruceWayne-dr9zh 2 жыл бұрын
Amazing explaination
@KatB89
@KatB89 11 ай бұрын
The link to "latest on Matlab and Simulink" in the description may not be directing to the video that is intended
@LaurenAnne6
@LaurenAnne6 3 жыл бұрын
Great video!!
@NareshKumar-bl3sy
@NareshKumar-bl3sy 5 жыл бұрын
Nice work in short time
@jeannettecollins2903
@jeannettecollins2903 4 жыл бұрын
thanks! interesting and easy to learn!
@hfizhaikal8186
@hfizhaikal8186 4 жыл бұрын
Thank you for the video
@farn69
@farn69 2 жыл бұрын
Great tutorial
@stellapateraki5528
@stellapateraki5528 4 жыл бұрын
love the discreet humour
@maryanbaraou6841
@maryanbaraou6841 6 жыл бұрын
You do nice job ty frero
@giannisloukovitis1256
@giannisloukovitis1256 6 жыл бұрын
that was nice. Thanks
@lalitchetan4678
@lalitchetan4678 2 жыл бұрын
WHo is the guy? Make him do all the basic tutorials. he explains really well @MATLAB
@omarel-ghezawi6466
@omarel-ghezawi6466 Жыл бұрын
Excellent!
@etc_be_a_62harshshinde66
@etc_be_a_62harshshinde66 3 жыл бұрын
Hooray!
@pravinpalve3771
@pravinpalve3771 4 жыл бұрын
%nice video man
@zhiwarsami5737
@zhiwarsami5737 6 жыл бұрын
very useful thanks very very much .
@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
@electronica-oscapy
@electronica-oscapy 3 жыл бұрын
What is the diference between script and live script? Thanks
@chukwuemekamba-onu7868
@chukwuemekamba-onu7868 2 жыл бұрын
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
@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.
@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
@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
@gopaltalukder441
@gopaltalukder441 4 жыл бұрын
How can i write anfis matlab code
@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.
@gian3517
@gian3517 4 жыл бұрын
What is random walk? And how do I replicate it?
@okeowofelix4537
@okeowofelix4537 8 ай бұрын
Can you provide the function program because it seem not to be responding on my end
@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.
@aobamoca
@aobamoca 6 жыл бұрын
lebron traveled
@rforrohitarorasirclasses6500
@rforrohitarorasirclasses6500 3 жыл бұрын
Very nice
@deependrakumar6426
@deependrakumar6426 6 жыл бұрын
how to defiene random function????
@vedant6633
@vedant6633 5 жыл бұрын
Time is the key
@beyondlimits8159
@beyondlimits8159 3 жыл бұрын
you sound like a minecraft youtuber. I assure you, this is a compliment
@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 Жыл бұрын
How can size up with galaxy mobile?
@muhammedshallal4132
@muhammedshallal4132 Жыл бұрын
How can size up with galaxy phone?
@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
@shrikantstu4725
@shrikantstu4725 5 жыл бұрын
new section not working on r2017a version
@slokisofttech5958
@slokisofttech5958 6 жыл бұрын
brilliant
@user-wm5pj1qh3y
@user-wm5pj1qh3y 3 ай бұрын
I am inspired to learn matlab
@AnGelo-nv1hx
@AnGelo-nv1hx 3 ай бұрын
Would have been awesome to if you had defined function randomewalk()...
@ac_nhi_cooler_hun
@ac_nhi_cooler_hun 5 ай бұрын
what is the randomwalk function, please help me I have an assignment due in 3 days
@AnGelo-nv1hx
@AnGelo-nv1hx 3 ай бұрын
was wondering the same... have you ever found it?
@pritomroy2465
@pritomroy2465 2 жыл бұрын
I thought R is running in a markdown document.
@sypher294
@sypher294 Жыл бұрын
Hot take: less comments, more well named variables!
@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?
@jorginhoapmyou
@jorginhoapmyou 6 жыл бұрын
hooray!
@shamalkumar7869
@shamalkumar7869 3 жыл бұрын
R.I.P. Lebron
@honantong
@honantong 6 жыл бұрын
Hooray
@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
@xuanji176
@xuanji176 2 жыл бұрын
hooray!!
@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??
@akaaleem2980
@akaaleem2980 2 жыл бұрын
video ets blurred at 4:15 mins
@shenshen0821
@shenshen0821 6 жыл бұрын
aww man Lols!
@bantunitdgp
@bantunitdgp 4 жыл бұрын
Starting with MATLAB. Beginner's Guide: kzbin.info/aero/PLsEIbHOtypISXCOtq8dcVlSFiJ_SPHdtx
@Ohlookitsajosh
@Ohlookitsajosh 5 жыл бұрын
Step 3: Profit
@Falkenbergo
@Falkenbergo 3 жыл бұрын
R.I.P Lebron
@fauzansyauqi2815
@fauzansyauqi2815 3 жыл бұрын
I dont get why he put (',' 's') in for else statement
@chukwuemekamba-onu7868
@chukwuemekamba-onu7868 2 жыл бұрын
I tried running the code without "(....., 's')" and it gives an error. I wonder what it's for
@fauzansyauqi2815
@fauzansyauqi2815 2 жыл бұрын
@@chukwuemekamba-onu7868 ya thanks mate, I do realize after that
@pegcailla4625
@pegcailla4625 4 жыл бұрын
shift + > * 3
@RahulKumar-vr4cm
@RahulKumar-vr4cm 6 жыл бұрын
MATLAB.MATLAB.
@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...
@shahdadkotjoawaz2749
@shahdadkotjoawaz2749 3 жыл бұрын
#mirtechsolution's
@tariqzk6964
@tariqzk6964 2 жыл бұрын
just like any programming language, things go downhill after learning loops.
@Hoppitot
@Hoppitot 3 жыл бұрын
y
@thealphazero_
@thealphazero_ 2 жыл бұрын
"aww man"
@DAECAkashKR
@DAECAkashKR 3 жыл бұрын
for i = 1:10000000 disp ("thank you") end
@Ryaaan_n
@Ryaaan_n 3 күн бұрын
omg your comment really helps me understand the concept better after typing the code into the command window of Matlab...THANKS😂
@leonhardeuler9839
@leonhardeuler9839 6 жыл бұрын
MATLAB is similar to Python
@seggetauli6644
@seggetauli6644 5 жыл бұрын
Interessante, video in italiano disponibili qui: kzbin.info/www/bejne/epfKmaZ4Yqybd6s
@seggetauli6644
@seggetauli6644 5 жыл бұрын
Molto interessante, suggerisco anche il corso grautito di "Corsi Consulenze NPR", kzbin.info/www/bejne/pJSUq55meaZ9pJI
@ahmednaji9065
@ahmednaji9065 10 ай бұрын
very fast your explanation dear
@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.
How to Use Basic Plotting Functions
3:00
MATLAB
Рет қаралды 30 М.
Basics of Programming using MATLAB
20:01
MATLAB Programming for Numerical Computation
Рет қаралды 997 М.
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 30 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 44 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
I learned to code from scratch in 1 year. Here's how.
41:55
Thomas Frank
Рет қаралды 365 М.
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 514 М.
The Truck Market Finally COLLAPSED. And Buyers are DONE Overpaying!
23:10
Automotive Anonymous
Рет қаралды 1,4 МЛН
Differences between C and MATLAB (Kevin Lynch)
7:31
Northwestern Robotics
Рет қаралды 73 М.
How to Write Code With ChatGPT
11:48
Envato Tuts+
Рет қаралды 52 М.
MATLAB for New Users
52:19
MATLAB
Рет қаралды 123 М.
Худший продукт Apple
0:53
Rozetked
Рет қаралды 146 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,5 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,2 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 4,6 МЛН