sai teja
Followers: 0 Following: 0
Statistica
MATLAB Answers
0 Domande
2 Risposte
RANK
21.922
of 296.498
REPUTAZIONE
2
CONTRIBUTI
0 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
1
RANK
of 156.574
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 max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function [summa, ind] = max_sum(v,n) % If n is greater than v return the specified values % Using return keyword exits the f...
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function [summa, ind] = max_sum(v,n) % If n is greater than v return the specified values % Using return keyword exits the f...
oltre 4 anni fa | 0
Risposto
Compound yearly interest with loop
We borrowed $1000 at a 10% annual interest rate. If we did not make a payment for two years, and assuming there is no penalty fo...
Compound yearly interest with loop
We borrowed $1000 at a 10% annual interest rate. If we did not make a payment for two years, and assuming there is no penalty fo...
oltre 4 anni fa | 1