10-28-2012 01:57 PM
am trying to plot t,i; t,p:t;i2 :t,v2. (i.e 4 graphs simultaneously two on same graph and two on different graphs) how should i approach. One more thing i am getting error in 6th line. Can anybody tell me how to deal with it.
08-13-2014 04:37 AM
Hi Tarun,
I would usggest to look at subplots and figure, this can be searcehd for easilly online. In terms of the error it appears that 'p' hasn't been defined or has been defined as the wrong size. I would check what size output you are getting and then define as appropriate.
Cheers
J
08-13-2014 04:38 AM
This link gives good ideas on subplots
http://www.dartmouth.edu/~rc/classes/matlab_graphics/Matlab-subplots.html