![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8543977_1527114831835_DEF.jpg)
Erfan Pakdamanian
Attivo dal 2018
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
19.055
of 293.477
REPUTAZIONE
2
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
1
RANK
of 148.733
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risposto
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 ...
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 ...
circa 6 anni fa | 0
Risposto
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;
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;
oltre 6 anni fa | 1