Community Profile

# Coupe Honda

Active since 2017

#### Content Feed

View by

Question

What is wrong with my code in writing a for loop function
function mysums(v) sum_even=0; sum_odd=0; i=1; for k = v if mod(i,2)==0 & i<= size(v) sum_even = sum_even + ...

6 years ago | 1 answer | 0

### 1

Question

for loop and while loop largest integer
a) Write a code using a for or a while loop to determine the largest integer n for which e^n <infinite in MATLAB. Also, determi...

6 years ago | 2 answers | 0

### 2

Question

Function for for loop
Write a script file which finds the sum of the elements with even indices and also the sum of the elements with odd indices of ...

6 years ago | 0 answers | 0

### 0

Question

Draw the curve in the x–y plane for which ||(x; y)||inf = 2
Draw the curve in the x–y plane for which ||||(x; y)||inf = 2

6 years ago | 2 answers | 0

### 2

Question

FIND A VECTOR IN R4
Find a vector x∈R4, all of whose elements are distinct nonzero integers, for which ||x||1 = 11, another vector for which ||x||2...

6 years ago | 2 answers | 0