This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
v = [ -376565273.869706 + 0i
-3419197614.44981 + 1946408802.27484i
-3419197614.44981 - 1946408802.27484i
-3789372834.14304 + 4660481826.64665i
-3789372834.14304 - 4660481826.64665i
-4853975182.33591 + 6452212202.13479i
-4853975182.33591 - 6452212202.13479i];
p_correct = -1.371038915265445082201028823e+67;
assert(isequal(cprod(v),p_correct))
|
2 | Pass |
v = [
-58018582009.6862 + 0i
11881642421.73 - 18022157170.9685i
11881642421.73 + 18022157170.9685i
18374324855.4044 + 0i
-226405216.604407 + 0i
-1337454510.20606 + 0i];
p_correct = -1.50419234807407836028190728e+59;
assert(isequal(cprod(v),p_correct))
|
Determine whether a vector is monotonically increasing
11916 Solvers
123 Solvers
Construct a string from letters and counts
128 Solvers
91 Solvers
Flag largest magnitude swings as they occur
582 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!