Solved


Return area of square
Side of square=input=a Area=output=b

2 years ago

Solved


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.

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Question


facing error to execute
a=[1 2 3 4]; b = vsum(a); disp(b); function y = vsum(x) y = sum(x,'all'); end I am facing below error Error using sum...

2 years ago | 1 answer | 0

1

answer

Solved


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

2 years ago

Question


can i access field by using values in structure?
if there is some structure with different fields and the field also have lots of values . can we access field by using value? l...

2 years ago | 1 answer | 0

1

answer

Question


I am receiving error for the following code , but I can't understand where and what to change I am having error at 5th line
[num,txt,raw]= xlsread('teamdata.xlsx'); disp(raw); for i = 1:6 for j = 1:2 if raw{i,j} == 'URVASHI' ...

2 years ago | 2 answers | 0

2

answers

Question


extracting file from desktop to current folder
I want to extract file from desktop into current folder by using script . how can I do that?

2 years ago | 1 answer | 0

1

answer