![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13635749_1537607532607_DEF.jpg)
Wu Hanting
Followers: 0 Following: 0
Statistik
0 Fragen
1 Antwort
RANG
233.898
of 297.016
REPUTATION
0
BEITRÄGE
0 Fragen
1 Antwort
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 20.419
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 157.725
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Write a function max_product that takes v a vector and n, a positive integer, as inputs and computes the largest product of n consecutive elements of v. It returns the product and the index of the element of v that is the first term of the product.
Besides, I think u are supposed to delete the ";" behind the "product = 0" and "ind = -1", or when testing condition of length(v...
mehr als 6 Jahre vor | 0