Community Profile

photo

Coupe Honda


Active since 2017

Statistics

  • Thankful Level 1

View badges

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 + ...

7 years ago | 1 answer | 0

1

answer

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...

7 years ago | 2 answers | 0

2

answers

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 ...

7 years ago | 0 answers | 0

0

answers

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

7 years ago | 2 answers | 0

2

answers

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...

7 years ago | 2 answers | 0

2

answers

Question


How to use ind2sub in this problem
A=1000*sin(reshape(10:999, 30, 33)); Use “max(A(:))” to find the index of the column vector which contains the maximum value,...

7 years ago | 1 answer | 0

1

answer