Recent content by uec0

  1. U

    quick matlab question

    "imagesc(x, y, M);" Try ">> doc image" or ">> doc imagesc" for more information on how to do that.
  2. U

    quick matlab question

    Doing this from memory without MATLAB here, but I think this does what you want?
  3. U

    quick matlab question

    "hold on;" If you want to mix a linear-scale plot and log-scale plot on the same figure, it gets a bit more complicated...
  4. U

    Possible to compute a correlation value for a single element?

    I tried to leave a few blanks for the reader to fill in in the hope of promoting some independent research, but I may have been too ambiguous ;) Assuming the professor actually wants the (mathematical) cross-correlation (I think you've had plenty of time to ask for clarification?), this...
  5. U

    Possible to compute a correlation value for a single element?

    Maybe this is just for posterity, but it may help someone else, someday. The "time delay" is just a variable -- It doesn't mean anything. It's just that introductory signal processing classes usually start with functions over time. Realistically, a function is a function -- The variable's...
  6. U

    Possible to compute a correlation value for a single element?

    Ask for clarification. But given the context, I would assume 2D Discrete Correlation (http://en.wikipedia.org/wiki/Cross-correlation) which would be similar to 2D Discrete Convolution.
  7. U

    Why not make p2p RAM?

    I think that's roughly how RDRAM worked.
  8. U

    Understanding Euler's identity

    For this derivation, they define "e" such that "lim delta->0 of (e^delta - 1) / delta == 1". They use some facts about "(a^delta - 1) / delta" as a function of "a" to show such an "e" exists. Therefore, if you plug in "a = e" into the "expanded" derivative of a^x, then you get "derivative...
  9. U

    Optimal number system?

    This is possibly a bit off-topic, but your post reminded me of something one ECE TA mentioned; while going over binary and hex, he claimed that the most efficient number system would actually be base e. I actually found an article that seems to support his statement...
  10. U

    What languages can do this?

    Java: Hashtable h = new Hashtable(); while ( <next line exists> ) { String s = <read in line>; String[] sa = s.split(&quot;=&quot;); if (h.containsKey(sa[0])) { h.remove(sa[0]); } h.put(sa[0], sa[1]); } It's even easier in C#, but I don't know the code...