已解决


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

2 years 前

已解决


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 前

已解决


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 前

已解决


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

2 years 前

提问


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 前 | 1 个回答 | 0

1

个回答

已解决


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 前

提问


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 前 | 1 个回答 | 0

1

个回答

提问


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 前 | 2 个回答 | 0

2

个回答

提问


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 前 | 1 个回答 | 0

1

个回答