Thamrongsin Siripongsakul
Statistics
2 Questions
0 Answers
RANK
218,202
of 288,880
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 19,492
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 143,074
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
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...
1 year ago | 1 answer | 0
1
answerQuestion
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) ...
1 year ago | 1 answer | 0