Hi, I hope you can help me for in this matter
i have a code to solve a problem and i want to change a value t and record the value of err
for example when t=0.1 , we get err=2.1542
when i change t=0.12, we get err=3.5475
when t=... we get err=......
So each
t=0.1, 0.12, 0.125, 0.1225, 0.13, 0.1345 ,...
Record how much the value of err to see plot(t,err) with t=[0.1 0.12 0.125 0.1225 ..0.15] and err=[2.1542; 3.5475; ...] Here is the problem record the value of err like a matrix
So how can write this ?
2 Comments
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/715158-how-do-i-generate-code-matlab-to-make-my-work-easier#comment_1259673
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/715158-how-do-i-generate-code-matlab-to-make-my-work-easier#comment_1259673
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/715158-how-do-i-generate-code-matlab-to-make-my-work-easier#comment_1259708
Direct link to this comment
https://es.mathworks.com/matlabcentral/answers/715158-how-do-i-generate-code-matlab-to-make-my-work-easier#comment_1259708
Sign in to comment.