Prev: How to create 3D mesh for Sphere
Next: image processing
From: dantimatter on 11 Jun 2010 18:41 Hello All, Simple problem: every column of an 81x128 matrix (let's call it A) is a trajectory that I'd like plot against the same coordinates values (in an 81x1 matrix called t). I'm sure that there's a simple way to do this that doesn't involve me writing out plot(t,A(:,1),t,A(:,2),...,t,A(:,128)); explicitly, but I don't know what it is. What do you think? Thanks! dan
From: Matt Fig on 11 Jun 2010 19:01 A =sort(rand(3,4),2) t = [1;2;3] plot(t,A(:,1),t,A(:,2),t,A(:,3),t,A(:,4)) figure plot(t,A)
|
Pages: 1 Prev: How to create 3D mesh for Sphere Next: image processing |