photo

Fardin Khan


Active since 2019

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
141,131
of 301,252

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,207

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 173,657

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


Why am I getting: "Index exceeds the number of array elements (1)." error?
function Euler2 (k, Ta, t0, T0, tn, n) h = (tn - t0)/n; t = t0; T = T0; for i=1:n T(i+1) = T(i) + (-k(T(i)-Ta)) * h; ...

7 years ago | 1 answer | 0

1

answer

Question


Why is my function outputting a blank graph:
function add(a, b, n) figure, hold on for i=1:n a = [a+2]; b = [b*2]; fprintf("%8.3f", a), fprintf("%19.4f\n", ...

7 years ago | 2 answers | 0

2

answers