Loops and Execution Control

preview_player
Показать описание
The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video.

2. Regional language subtitles available for this course
To watch the subtitles in regional language:
1. Click on the lecture under Course Details.
2. Play the video.
3. Now click on the Settings icon and a list of features will display
4. From that select the option Subtitles/CC.
5. Now select the Language from the available languages to read the subtitle in the regional language.
Рекомендации по теме
Комментарии
Автор

What a great teacher, so patient and clear. Very gifted. Thanks. Graduated from Cornell in science and never had a better professor. Thank you.

TheAbbeyClinic
Автор

Dear Sir, U saved me. I was looking for Matlab lecture. and I got this.

mymoneymyinvestments
Автор

All lectures are very precise and smoothly delivered. You are a good teacher.

shifagoyal
Автор

Your lecture is so clear, simple and easy to understand. Thank you.

mahmudanoor
Автор

Excellent matlab teaching, I am student of MTech, In my class I could n't follow the way he is teaching. yours very easy to understand. thanks for nice lectures

kishanadepu
Автор

%Fibonacci using while loop until less than 200
fibo= [1, 1];
i = 2;
while fibo(i) + fibo(i-1) <200
fibo(i+1) = fibo(i) + fibo(i-1);
i = i +1;
end

alickcampbell
Автор

what is the value of end at 6:53 .should we not initialize its value? Does this while loop start calculating from big to small Fibonacci values?

sagar
Автор

Sir matlab kase matlab kase koi Etna achha explain kar Sakta hai very nice sirji☺️☺️

sapankushwaha
Автор

Thank u so much sir for providing me such a valuable things

shortTripsnLaughs
Автор

Great I wish to meet you and clarify some doubts

hodmechanical
Автор

this end function in fibo(end) is not running, any suggestion?

s.m.talhawadood
Автор

Hi there,

I hope this message finds you well. I have a query that in your explanation of fibonacci series using while loop. You have created fibo(end)<200. Why only "fibo(end)" is accepting, I tried to use with different variables like fibo(i)<200, fibo(abc)<200, etc but everytime Matlab prompt me with error but never showed the answer unless use your term of fibo(end)<200.

Please help me with the query.

Thanks in advance

mrigankchhabra
Автор

thanks sir but u didnt define fiobnacci end during while loop

uditsaxena
Автор

Sir can You tell me the symbol which is in first line

dhanasrisrinivas
Автор

provide module no on title so it will be easy to follow

rameshpandey
Автор

fibo=[1, 1];
while fibo(end)<200
fibo(end+1)=fibo(end-1)+ fibo(end);
end
disp(fibo(1:end-1));

Just made it little shorter, nothing new

jatinsharma
Автор

% Fibonacchi series using While loop
fibo= [1, 1];
i=3;
while fibo(end)<200
fibo(i) = fibo(i-1) + fibo(i-2);
i = i+1;
end
fibo(end)=[];
disp(fibo);
.
.
.
I think I made it more Simple

abhinandangupta
Автор

I also want control on Matlab like this..

mymoneymyinvestments
Автор

%Display location of the ball hit vertically at every 0.1 s
v0=20;
g=9.8;
y=0;
t=0;
while(y>=0)
t=t+0.1;
y=v0*t-g*t^2/2; %Ball is going vertically upward upto y>=0
display(['At t= ', num2str(t), ', location= ', num2str(y)]);
end

plot(t, y)
xlabel('t (second)');ylabel('y (metre)')
Result is being shown in Display
But in plot I am unable to see the trajectory of (y).
please help.

mathematicstuitionwithdrak
Автор

fibo=[1, 1];
n=2;
while fibo(n)<=200

n=n+1;
end;
disp(fibo(1:end-1));

rupombhattacherjee