From: dpb on
metin wrote:
> i used this way now but there is still one point on graph.i have to
> show all relative errors versus k on the graph. what can u suggest for that?
>
....

> k=1;
> while error>=tol
....
> relativeerror=(error/R)
....
> k=k+1;
> end
> ezplot(relativeerror,k)

You keep and increment an iteration counter but don't do anything w/ it
to keep the relative error value associated w/ each iteration but
overwrite it each time thru the loop. An array might help????

Or, plot each point individually during the loop could be an alternative...

--
First  |  Prev  | 
Pages: 1 2
Prev: problem
Next: Normal direction of faceNormals