MATLAB: How to add an initial point to 5 curves in a plot curveplot hold on plot(t,dCa1dt); plot(t,dCa2dt); plot(t,dCa3dt); plot(t,dCa4dt); plot(t,dCa5dt); hold off % this was the plot command and I need to add an initial point so that all curves start from same point. Best Answer tt = [t_for_initial_point, t];d0 = y_for_initial_point;plot(tt, [d0, dCa1dt]);plot(tt, [d0, dCa2dt]);plot(tt, [d0, dCa3dt]);plot(tt, [d0, dCa4dt]);plot(tt, [d0, dCa5dt]); Related SolutionsMATLAB: How to draw 2D periodic triangular signal Not yet. That is just one period, not a waveform with multiple periods. Use repmat() to make more of them. MATLAB: Using for loop for plotting from a timetable plot(TT2.Date, TT2{:,ii})... and remember the "hold on" Related QuestionSolving 2 ODE’s with ode45
Best Answer