Info
This question is closed. Reopen it to edit or answer.
Index exceeds the number of array elements (1)
1 view (last 30 days)
Show older comments
clear all; close all; clc;
for A=1,i=1:10;
x(1+i)=(4-0.1*z(i+1)-4*sqrt(y(i+1)))/3;
y(1+i)=(16+log10(z(i))-x(i)*sin(x(i)))/12;
z(1+i)=(9+A*exp(y(i)*y(i))-1/(x(i)+10))/1;
fprintf('x= %f,\ty= %f,\tz= %f\n',x(i),y(i),z(i));
end
Not sure how to fix this. help please.
1 Comment
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!