EGR 103/Fall 2009/Questions

From PrattWiki
Revision as of 18:42, 12 September 2009 by DukeEgr93 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lab 5

  • I am making a graph for NormDist.m as part of Lab 5, but I cannot get NormDist to accept a non-square matrix of z values. It treats linspace(-4, 4, 100) as a 100 x 1 matrix. Any hints for how I can graph NormDist? Mjc43 13:46, 12 September 2009 (EDT)
    • It's treating it as a 1 x 100 matrix - and that is correct; be sure to use .* and ./ and .^ in your calculation and it will be fine. DukeEgr93 14:42, 12 September 2009 (EDT)