Why does my plot not display when I use a nested loop?
3 views (last 30 days)
Michael Haderlein on 28 May 2015
Edited: Michael Haderlein on 28 May 2015
If you want to get this as line plot, you'll need all values of a and c to be in one array each. If the example you have posted is the real equation, you should simply vectorize it and things become much easier:
If this was just sketching the problem and you cannot vectorize your function, you'll need to save all c values: