photo

Chen


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
274,358
of 300,851

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,094

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,294

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


Euler method table problem.Why my fprintf(y(i+1)) only has the last ans, my y1-y(i+1) is incorrect and how to let the table be tidy?
h=0.2; x=0:h:1; y=zeros(size(x)); y(1)=0; n=numel(y); y1=exp(x)-x-1; fprintf('xn \t yn\t y(xn)\t error\n '); for i=1:n-1 ...

3 years ago | 1 answer | 0

1

answer

Question


Why does the code have Check for incorrect argument data type or missing argument in call to function 'zero'?
h=0.1; x=0:h:1; y=zero(size(x)); y(1)=0; n=numel(y); y1=exp(x)-x-1; for i=1:n-1 f = x(i)+y(i); y(i+1) = y(i) + h...

3 years ago | 1 answer | 0

1

answer