Hello World. So, I am new to programming entirely, let alone Matlab. I know it i
ID: 3638020 • Letter: H
Question
Hello World.So, I am new to programming entirely, let alone Matlab. I know it is trivial and that there are other ways of going about this- but I was wondering how to index even numbers.<br /><br />I know that you can index odd numbers, for example the following would return the square of the first 10 odd numbers:</p>
for i=1:2:20
x(i)=sqrt(i)
end
However, I do not know why this returns the odd index values- I just know it does.
I am working ahead on our lab for tomorrow, and don't have Matlab on my computer. I'm working on installing Octave right now. However, I am more focused on the theory and understanding of the notation and language.
Thanks in advance,
Kitteh Guy
Explanation / Answer
you can go through the tutorials of mathworks.com it will work for you best of luck Shakshi :)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.