Feeds
提问
Stuck on printing two different vectors, maybe Syntax?
>> N = 1062; tFinal = 5; h=tFinal/N; t=linspace(0,tFinal,N+1); z=zeros(1,N+1); z(1)=1; for n=1:N z(n+1) = z(n) + h* ...
5 years 前 | 1 个回答 | 0
1
个回答提问
I don't understand why the elements are not the same on both sides
>> N = 200; h=tFinal/N; t=linspace(0,tFinal,N+1); % type 'help linspace' to see how this works z=zeros(1,N+1); z(1)=1; for ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Why isn't my code working because of delimeters?
>> N = 200; h=tFinal/N; t=linspace(0,tFinal,N+1); % type 'help linspace' to see how this works z=zeros(1,N+1); z(1)=1; for ...
5 years 前 | 1 个回答 | 0

