How to Write a MATLAB Program - MATLAB Tutorial
HTML-код
- Опубликовано: 23 авг 2024
- 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
This guy's energy just makes it so much easier to learn from a video compared to so many tutorials for other programs
@Avery Colton no one gives a single fuck, this is how people input their insta credentials and get themselves hacked. asshats
@@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.
Correct... 💯
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
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.
ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
With any other programming language, you’d be doing it by now
@@think3rofficial fr
The best tutorials are long and detailed but feel short and simple. For me, this guy definitely accomplished that.
? It's 14 mins, is that long?
@@gregoryfenn1462 long for the small amount of concepts he covered
I like how this video starts in the MATLAB command window then moved into script files. I find that's really helpful too.
Thanks for a very straightforward tutorial. Cheers!
I love how you chose "The 5th Element"!
Thanks ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
I wish all teachers were like him :( he is so cool guy
Never seen anyone explain for loops and if statements very accurate
This is a good getting started especially for beginners.
Me too, I just started making matlab teaching demos and many more.
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.
ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
Hugely appreciate this video. Made my lectures make a little more sense 👍🏼. Thanks.
Nice video with easy explanation.
Thanks man =D
It helped A LOT me to begin with matlab
Great ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
WHo is the guy? Make him do all the basic tutorials. he explains really well @MATLAB
Explanation was very good
Does anyone know who this guy is? I would love to find other content created by him. Love his teaching energy!
love the discreet humour
A very good video for beginners
The link to "latest on Matlab and Simulink" in the description may not be directing to the video that is intended
why can't I get any result when I typed "randomwalk(3)" on my live editor?...instead, I got "unrecognized function or variable 'randomwalk'"
That's because he did not care to show or explain the randomwalk and numFlips functions that he already created before recording I guess.
Its really good for beginners
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.
ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
Thanks
really appreciable this video man. but one point i am confused about is randomwalk.
What is the diference between script and live script? Thanks
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
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.
How can size up with galaxy mobile?
How can size up with galaxy phone?
It would have been great if you showed the Lebron function. That would have been useful.
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
@@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.
hi, is randomwalk(n) a function ? i try it it´s not working!!
yeah i think randomwalk(n) is a function he already built for the purpose of the tutorial
@@TheLcp23show can you please attach any codes regarding this, I couldn't find the function
you sound like a minecraft youtuber.
I assure you, this is a compliment
Thank you. This helps
omfg thank you!!! this helps!!!
Hooray!
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
Amazing explaination
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.
Nice work in short time
Great tutorial
Great video!!
Muchas gracias.
Thank you for the video
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
Excellent!
I am inspired to learn matlab
thanks! interesting and easy to learn!
Starting with MATLAB. Beginner's Guide: ruclips.net/p/PLsEIbHOtypISXCOtq8dcVlSFiJ_SPHdtx
What is random walk? And how do I replicate it?
Can you provide the function program because it seem not to be responding on my end
You do nice job ty frero
that was nice. Thanks
Hot take: less comments, more well named variables!
%nice video man
what is the randomwalk function, please help me I have an assignment due in 3 days
was wondering the same... have you ever found it?
R.I.P. Lebron
lebron traveled
Would have been awesome to if you had defined function randomewalk()...
Very nice
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.
very useful thanks very very much .
how to defiene random function????
Time is the key
I thought R is running in a markdown document.
I dont get why he put (',' 's') in for else statement
I tried running the code without "(....., 's')" and it gives an error. I wonder what it's for
@@chukwuemekamba-onu7868 ya thanks mate, I do realize after that
R.I.P Lebron
How can i write anfis matlab code
This works from what version of MATLAB. R2015a does not have the Live Scripts ...
LEONARD MABELE p ppl pl
brilliant
video ets blurred at 4:15 mins
Step 3: Profit
please make a biogas production simulation tutorial using matlab
Hi, did you get any info or methods to simulate biogas production ?
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?
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??
aww man Lols!
for i = 1:10000000
disp ("thank you")
end
omg your comment really helps me understand the concept better after typing the code into the command window of Matlab...THANKS😂
shift + > * 3
Sir plz help me for my Matlab code. Facial expressions recognition
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.
ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
ruclips.net/channel/UCrWVyY81cjpL460aHNV3RXA
new section not working on r2017a version
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...
hooray!!
Hooray
hooray!
#mirtechsolution's
MATLAB.MATLAB.
"aww man"
just like any programming language, things go downhill after learning loops.
y
Interessante, video in italiano disponibili qui:
ruclips.net/video/DfghsB-GhAI/видео.html
MATLAB is similar to Python
very fast your explanation dear
Molto interessante, suggerisco anche il corso grautito di "Corsi Consulenze NPR", ruclips.net/video/nc1zk0DAJn0/видео.html
Matlab is the worst language programming that I have tried. And besides university, nobody is using it.
@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.