photo

Thamrongsin Siripongsakul


Last seen: 2 years ago Active since 2023

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
282,911
of 300,853

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.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

  • Thankful Level 2

View badges

Feeds

View by

Question


How can I get the return of a constructed function as an array?
The constructed function is function [a] = triangle(n) a=zeros(size(n)); if (n>=0 & n<=pi) % use an if else statement...

3 years ago | 1 answer | 0

1

answer

Question


How can I construct a triangle function, when I tested one using 'integral(fun.-pi,pi)', error occurred.
function [a] = triangle(n) a=zeros(size(n)); a(n>=0 & n<=pi)=pi-n; end -------------------- >> fun = @(x)triangle(x) ...

3 years ago | 1 answer | 0

1

answer