photo

Erfan Pakdamanian


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

MATLAB Answers

0 Questions
2 Réponses

RANG
19 055
of 300 895

RÉPUTATION
2

CONTRIBUTIONS
0 Questions
2 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
1

RANG
 of 21 106

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 171 552

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
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 ...

plus de 7 ans il y a | 0

Réponse apportée
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;

plus de 7 ans il y a | 1