[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plot issues
From: |
soapkwan |
Subject: |
Re: Plot issues |
Date: |
Thu, 16 Apr 2020 22:31:32 -0500 (CDT) |
Your "direct integration" means an analytical formula of X(t) as a function
of t, with several constant parameters, like ka, I0, x0...etc. Right?
If that is the case, then you may construct your function as:
Function x = F(t)
%define constant parameters
% x = your analytical formula
end
then depends what range of t you want, you may assign:
t = linspace(0,t_end,100);
x = F(t);
plot(x,y);
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html