Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
19.055
of 300.744
REPUTAZIONE
2
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
1
RANK
of 170.597
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 ...
oltre 7 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 7 anni fa | 1
