photo

Daniel Thomas


Active since 2018

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
77,236
of 300,930

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,114

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,750

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


how do i make one function that i am able to use trapezoidal rule for integration from this code?
x=0:0.01:25; y=zeros; for T1=1:length(x) if x(T1)>=0 && x(T1)<5 y(T1)=0.1553567*(x(T1)^6)-2.0416*(x(T1)^5)+9.1...

7 years ago | 1 answer | 0

1

answer

Question


how do make the integral a vector
integral = 0 for i = 1:n r_left = (a+(i-1)*h); r_right = (a+i*h); % Functions f_...

7 years ago | 1 answer | 0

1

answer