Community Profile

photo

Syed Shah


Last seen: 2 months ago
3 total contributions since 2021

Syed Shah's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


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* ...

2 months ago | 1 answer | 0

1

answer

Question


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 ...

2 months ago | 1 answer | 0

1

answer

Question


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 ...

2 months ago | 1 answer | 0

1

answer