Erfan Pakdamanian
Followers: 0 Following: 0
Statistics
0 Questions
2 Answers
RANK
19,055
of 295,913
REPUTATION
2
CONTRIBUTIONS
0 Questions
2 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1
RANK
of 20,299
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,883
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
Feeds
Write a function called integerize that takes as its input a matrix A of integers of type double, and returns the name of the “smallest” signed integer class to which A can be converted without loss of information. If no such class exists, the text '
My algorithm may seem to have a little bit more lines than Stephen but it does pretty much the same thing with basic functions ...
6 years ago | 0
Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.
function s= spiral_diag_sum(n) sp=spiral(n); s=sum(diag(sp))+sum(diag(fliplr(sp)))-1;
6 years ago | 1