Hi,
I'm trying to learn Fourier transforms by myself. I'm a bit confused about how the trignometric polynomial complex form was derived. I'm referring to this:
http://en.wikipedia.org/wiki/Trigonometric_polynomial
Now, I haven't taken complex analysis so I only know the basics. I used Euler's...
The class I'm in is not modern algebra nor have I take those courses. The professor of the class [Learning how to read/write in math] decided to try to teach some abstract algebra. I am trying to understand how multiplication is done in a field. I am using this site to help me as it was most...
I'm working on a report that describes the input and output from Mathematica. Is there any standard way for me to represent them? I done this openoffice already but I want to put my paper into latex. What I currently have in Openoffice format was like this:
Input:
[1] ________
[2] ________...
Hi, I'm not really understanding how to convert the piecewise heaviside into a single function. This was on our quiz and the professor didn't really explain how he got the answer.
I can't get the tex to work so:
f(t)=
{ 0, 0 <= t < 1
{ (t-1) 1 <= 2
{ 1, t >= 2
The answer is...
Hi, I'm working on a currency converter and have some trouble trying to understand how to do the callback function. What I have is 2 menus with source and target currency. I also have an edit box to enter the amount. I have to press a convert button and the output is displayed in another text...
Yes, the code works. I want to know why the if statement returns only the true values. I'm still learning. When I read the code in my mind this is what I understand: From index 1 to the end of the vector, result is index. Isn't that what if x(k) means? This makes no sense to me. Conditionals...
You misunderstand me. I know this is a built-in fuction but this was an exercise in learning MATLAB conditionals. Can you explain my original question on why the output works that way? My professor isn't around this week otherwise I might ask him.
Thanks
Hi, I needed to write a function that takes a boolean vector and returns the position of the "1" values only. The correct way it was done was like this :
function res = tmp(x)
res=[ ];
for k=1:length(x)
if x(k)
res = [res,k];
end
end
I don't understand why the "if" statement...
Can you do this without using for loops? We haven''t covered that yet. I may have to ask the professor. Its surprising because even the TA had no clue how to do this with the material we have covered so far.
Thanks
I'm having trouble understanding how to do a perfect shuffle of a vector. I'm supposed to split the vector in half then the 1st element is the 1st element in the first half and the 2nd element is the 1st element of the 2nd half, and so on.
For example, if I have [1 2 3 4 5 6]
then I need to...
Hi, I'm new to matlab.
I'm trying to sum a function similar to 2n from 0 to n where n is specified as a digit and not a list. I am using the sum() function but I don't really know how to get it to work right for this.
Thanks
Yes, this is actually for quantum chemistry. Like a review/preview into the math we must know.
Its been a while since I did this so can you nudge me in the right direction? What are my initial values? I think that x(0), t is zero or am I thinking incorrectly.
Under what topic is calculus...