답변 있음 extracting value from a matrix
I think it is better to put the variable X as a string and from there start. for example:
X=['1000000000000000000000000000000...
3년 초과 전 | 0
| 수락됨
답변 있음 How to get Taylor polynomial for functions?
You can use a function that is in the MAThWORKS fileexchange (I put the link):
str=input('Function? ','s'); %tray with: cos(x)...
답변 있음 For loop only outputting the final value.
Try using something like this:
t=linspace(0,3*pi,100)
t=linspace(0,3*pi,100);
for k=1:length(t)
y = q2(t(k));
val...
3년 초과 전 | 0
답변 있음 Plotting log x and y
Why don't you treat like this:
n = 30;
x = 0.5;
h(1) = 1;
emin = 1;
for i =1:n
if i==1
h(1)=0.5;
else
...
Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...
답변 있음 Euler method returning error
maybe you need copy the function eulsys.m in your system. In this link you have a copy:
http://macs.citadel.edu/chenm/344.dir/0...
거의 4년 전 | 0
답변 있음 how do i plot only certain part of cepstrum
KSSV ks suggests that you work with the index, here I show you an example of what KSSV mentions,
x=linspace(0,10,100);
y=x.^2;...