I found this very helpful, but I felt that there were a few commands that were used but not fully explained: "fprintf", "%0.0f", and ". " I do not know where these came from and what they do (aside from if they are used exactly the same as in this case). Thanks!
Sir, please tell me about loops that are used to take two inputs simultaneously and computing it: example- fori=1:5 forj=1:5 fprintf(' take length 1:'); fprintf(' take length 2:') %other computations end end
Will a nested for loop like this work the same for a string array? I dont know the syntax for the counter for a string array to go through each column then row
say within a for loop defined as, i=1:100 if ..... elseif..... while..... If I have a condition in the while loop that terminates the current history it is on and goes to the next history within the for loop... How would I do that? Say the condition is met in i=1, I want to terminate that loop if the neutron is lost and start, i=2. Please help...
is it possible to save the resulting variables during the loop operation. for example for a loop from 1:5, i want to save all the generated variables during the iteration cycle under a different name. can it be done?
hey @ RobertTalbertPhD i have got some issue in the matlb code that i want to run , it is related to my masters degree research. i just have to write a program for orientation of a mirror and the value of it changes for different days of the year . if you would help me correct my program i will be much indebted .
that was a great lesson from you and I admired you way of explaining the example, I am welling to have a chat with you about somthing that I need the help in it. Welling to have you answer soon Thank you in advance Z
A=input('Enter an array:') num_rows=size(A,1); num_cols=size(A,2); for i=1:1:num_rows; for j=1:1:num_cols if mod (A(i,j),2)==0 fprintf('The entry %0.0f is even, A(i,j)') else fprintf('The entry %0.0f is odd, A(i,j)') endif endfor endfor
Thank you, sir. This makes much more sense the way you've explained it!!
i was struggling to write one function on matix for an hour but your explaination made my day.. thanks a lot!!
I didn't know Bird Person taught MATLAB tutorials
Me too
LMAOOOO
Very well presented! I wish it were explained this clearly when I was learning it!
Thanks to this I was able to try out some refresher, I got the program solved before him posting the solution. Thanks!
your tutorial videos are really helpful and precise,keep up the good work!!
Very comprehensive and helpful, sir. Thank You.
I found this very helpful, but I felt that there were a few commands that were used but not fully explained:
"fprintf", "%0.0f", and ".
"
I do not know where these came from and what they do (aside from if they are used exactly the same as in this case).
Thanks!
Thank you and +10pts for sounding like an older Sheldon from Big Bang Theory
Sir, please tell me about loops that are used to take two inputs simultaneously and computing it: example-
fori=1:5
forj=1:5
fprintf('
take length 1:');
fprintf('
take length 2:')
%other computations
end
end
I am an absolute beginner in programming and I find this video very useful! Thank you very much!
Shouldn't num_rows=size(A,2)?? Because the output of the function gives you the number of rows.
Hi Sir, can you create Matlab program for 2 input and 2 output using if else statement? Thank you very much
what is the difference between using MOD and REM commands?
Just curious how to use MATLAB to find the values of a symbol?
Giving a+c=30 and 2
Will a nested for loop like this work the same for a string array?
I dont know the syntax for the counter for a string array to go through each column then row
Hello, i have wind speed data(per second) and i need a loop to calculate the average every 1 minute(60sec). 5.270.341rows 1column. Can you help me?
How can a user enter an array of his own choice??What is the command for that? please answer
say within a for loop defined as,
i=1:100
if .....
elseif.....
while.....
If I have a condition in the while loop that terminates the current history it is on and goes to the next history within the for loop... How would I do that? Say the condition is met in i=1, I want to terminate that loop if the neutron is lost and start, i=2.
Please help...
is it possible to save the resulting variables during the loop operation. for example for a loop from 1:5, i want to save all the generated variables during the iteration cycle under a different name. can it be done?
MOD function is almost like rem Function which also calculates remainder I guess.
supercool,you are my hero...btw is it macbook or mac book pro..???
hello sir, can you help me to complete my thesis?
hey @
RobertTalbertPhD
i have got some issue in the matlb code that i want to run , it is related to my masters degree research.
i just have to write a program for orientation of a mirror and the value of it changes for different days of the year . if you would help me correct my program i will be much indebted .
what does mod do??
Can you please show how to solve a matrix of a 5x3 and have it in increase in the order of small to large.
Example [ 1 2 5
15 18 23 ]
Thank you.
that was a great lesson from you and I admired you way of explaining the example, I am welling to have a chat with you about somthing that I need the help in it. Welling to have you answer soon
Thank you in advance
Z
Great video!
A=input('Enter an array:')
num_rows=size(A,1);
num_cols=size(A,2);
for i=1:1:num_rows;
for j=1:1:num_cols
if mod (A(i,j),2)==0
fprintf('The entry %0.0f is even, A(i,j)')
else
fprintf('The entry %0.0f is odd, A(i,j)')
endif
endfor
endfor
thank you so much
Gr8! Was very helpful!
Thanks
Thank you!
wonderful , great job :-)
nice!
neat
cool !
Molto interessante, suggerisco anche il corso grautito di "Corsi Consulenze NPR", ua-cam.com/video/nc1zk0DAJn0/v-deo.html
Thank you for not having an accent
good job but speaking slower would make it easier to follow
cacca cacca cacca
Zara slow bol re baba
u r too fast, doesnt freaking help
Quick and clear. Good one!