Community Profile

# samuel okeleye

Last seen: 7 mois il y a Actif depuis 2018

All

#### Content Feed

Afficher par

A répondu
solve the summation equation
clc; clear; n=5; k=0; numerator=0; denominator=0; If N=5 and K=3 You also initialized the numerator and denominators ab...

presque 2 ans il y a | 0

A résolu

Given a and b, return the sum a+b in c.

environ 2 ans il y a

A résolu

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

environ 2 ans il y a

A résolu

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

environ 2 ans il y a

A résolu

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

environ 2 ans il y a

A résolu

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

environ 2 ans il y a

A résolu

First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

environ 2 ans il y a

A résolu

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ 2 ans il y a

A résolu

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

environ 2 ans il y a

Question

Getting structure content using strings
I have kt containing data type "strings", one of them is "grad"i.e kt(1,1)=grad which is a string. I am also trying to get the ...

plus de 4 ans il y a | 1 réponse | 0

réponse