I resolved it by using "hold on"
But I am getting a error with my function when I am trying this ;
function figureplot(m)
load -ascii shapes.txt
for i=1:m
...
? Input argument "m" is undefined.
What I am trying to do, is making a function where I can tell it how many plots I want...
Hi all
I am novice MATLAB programmer, and I need alittle help with plotting points, given in a txt. file.
I have a text file containing 56 points for 40 pictures. I've loaded the txt file by "load -ASCII nameofthefile.TXT" - and thereby created a matrix <112x40 double> the first 56 rows...
is recursion not a part of induction ?
I might have misunderstood the "determine the closed expression - without using recursion" wrong. but if I wanted to prove it by induction. I would;
1. prove the basis ;
b(0)=2^(2^0) +1 = 3 , true , basis proven.
2. prove inductionstep
b(n)...
Thx for your reply.
so for n = 1 , I am getting ;
2 + b(0) *b(1) = 2 + 3 * b(1)
for n = 2 ;
2 + 3 * b(1) * b(2)
edit: could 2+3*b(n)! be a solution to the pattern ?
Can anyone give me a hint for what I should do next ?
determine a closed expression for b(n), given
b(0) = 3
b(n+1) = 2+\prod (k=0 to n) * b(k) , n >= 0 , without using recursion og or the product given by \prod.
I want to start out by b(n+1) -1 = (b(n)-1)^2 for n >= 0 , but I am not sure.
kind regards
Maxmilian