How to plot points on a line
Say I have a random sequence of such as new=randn(5,1) which produces y values of
ans =
-0.9118
0.0494
1.0780
...
대략 5년 전 | 답변 수: 1 | 0
1
답변
질문
Changing a for loop to recursion
Just wondering if I could get a bit of help on this. How would I change this code to remove the for loop so it operates recursiv...
Plotting infinite series on interval
I have the following function for error approximation
function y = Approx(x,N);
Approx=zeros(1,length(x));
for n=0:N
Ap...
Error approximation as a function
I have this error approximation
and I am trying to create two functions. One which loops over the values and the second which...
Help with Padovan Sequence
I have a question that says
P(0)=P(1)=P(2)=1 , P(n)=P(n-2)+P(n-3)
use for loops to get a script for p(n)
I have written
fun...