No video

Creating a for loop in MATLAB | How to Use for Loop in MATLAB | Nested for Loop MATLAB

  Рет қаралды 71,910

Electrical lectures

Electrical lectures

Күн бұрын

Creating a for loop in matlab. In this video, you will learn how to use for loop in matlab. A simple and easy tutorial on how to create for loop in matlab. for loop in matlab matrix, for loop in matlab, array in matlab for loop.
#forloopinmatlab #matlabforloop #matlab #electricallectures

Пікірлер: 21
@sultankhan9600
@sultankhan9600 3 жыл бұрын
Simple and useful
@wakh6260
@wakh6260 3 жыл бұрын
Simple and easy as ever sir
@usmanalikhan8440
@usmanalikhan8440 Жыл бұрын
sir kindly specify, how we multiply the matrices with variable elements and plot the determinant of the product of the matrix in Matlab
@YOUSSEF-fy5wv
@YOUSSEF-fy5wv 5 ай бұрын
Thanks you soo much , I need that
@UECAshutoshKumar
@UECAshutoshKumar Жыл бұрын
Thank you sir
@electricallectures
@electricallectures Жыл бұрын
Welcome
@sportnature3047
@sportnature3047 3 жыл бұрын
Wowwwww thanks
@sulaimanmunawar5934
@sulaimanmunawar5934 2 жыл бұрын
Thank you sir you made me clear it alot
@electricallectures
@electricallectures 2 жыл бұрын
Stay tuned and dont forget to subscribe
@OceanIgs
@OceanIgs 7 ай бұрын
Nice. I'm trying to figure out how to make a for loop with odd increments.
@wanassaben8269
@wanassaben8269 Жыл бұрын
Thank you🇩🇿💚
@arunCK44
@arunCK44 2 жыл бұрын
very useful. still i don't know nothing😁
@electricallectures
@electricallectures 2 жыл бұрын
Hahaha great
@johannasteinbock1848
@johannasteinbock1848 10 ай бұрын
I cannot manage to enter the command between for and end! Do I do that in the editor or in command window?
@tsehayenegash8394
@tsehayenegash8394 6 ай бұрын
professor please help me. I have 366 row and 1890 column data i.e 366x1890. I want to sinusoidal curve fitting this data. how can I determine the amplitude the phase shift and the model of each column data? thank you
@dawoodshafique2493
@dawoodshafique2493 2 жыл бұрын
how do you use a loop to search through a matrix to find specific value (which will be our condition) and return its index value of the value found?
@electricallectures
@electricallectures 2 жыл бұрын
You will need a for loop for row and tgen for column. Nested for and then use compare condition to search
@dawoodshafique467
@dawoodshafique467 2 жыл бұрын
@@electricallectures thank you really appreciate your help, do you reckon you could help me code this on a private basis.
@shresthabanerjee494
@shresthabanerjee494 Жыл бұрын
Sir I was given the following question Write a MATLAB function called looptest (N) that loops through the values I through N and for each number n it should divisible by 2', 'n is divisible by 3, 'n is divisible by 2 AND 3 'n is NOT divisible by 2 or 3 In answer i have written function loopTest(N) for i=1:10 r=rem(i,2); s=rem(i,3); if r==0 && s==0 fprintf("%d is divisible by 2 AND 3 ",i); elseif r~=0 && s~=0 fprintf("%d is not divisible by 2 or 3 ",i); elseif r~=0 && s==0 fprintf("%d is divisible by 3 ",i); elseif s~=0 && r==0 fprintf("%d is divisible by 2 ",i); end end N is given by me in input.is this wrong?
@HassanKhan-sc7id
@HassanKhan-sc7id 11 ай бұрын
Output me kia show horha ha kohi error to nhi dia
@pavankumarbejjipurapu8846
@pavankumarbejjipurapu8846 2 жыл бұрын
sir how to write loop for double/series summation
How to 3D Plot in Matlab with Example
4:42
Electrical lectures
Рет қаралды 46 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 84 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 10 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,2 МЛН
Nested Loop in MATLAB | Easy Example to Understand Nested Loops (4K UHD)
10:52
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 398 М.
MATLAB for Engineers - Conditional Statements if, else, and elseif
12:52
Spartan Professor
Рет қаралды 76 М.
Nested for Loop in Python
9:29
Neso Academy
Рет қаралды 20 М.
Loops in MATLAB | While Loop and For Loop in MATLAB
23:47
Electro DeCODE
Рет қаралды 19 М.
MATLAB - Loops for Vectors and Matrices
6:11
Radhakrishna Dasari
Рет қаралды 16 М.
Introduction to For Loops in Python (Python Tutorial #5)
10:22
CS Dojo
Рет қаралды 1,6 МЛН
Loops in C++ (for loops, while loops)
12:20
The Cherno
Рет қаралды 402 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 84 МЛН