Solved


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

6 years ago

Solved


find whether it is prime or not
For a given number find if its prime

6 years ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

6 years ago

Solved


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

6 years ago

Solved


find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

6 years ago

Solved


Product of all elements in an array
Compute the product of all elements in an array.

6 years ago

Solved


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

6 years ago

Solved


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

6 years ago

Solved


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

6 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

6 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

6 years ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

6 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

6 years ago

Solved


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

6 years ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

6 years ago

Solved


modulus of a number
find the modulus of a given number

6 years ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

6 years ago

Solved


Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

6 years ago

Solved


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

6 years ago

Solved


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

6 years ago

Solved


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

6 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

6 years ago

Solved


first element of matrix
find the first elements of a column matrix

6 years ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

6 years ago

Answered
Sym equation to double
theta=60; fun=@(x)600-(x*cotd(theta))^2/121-x; y=fsolve(fun,300); x=y*cotd(theta); scatter(x,y);

6 years ago | 1

Answered
Convert equation to MATLAB code
Assuming variables (w,F) are a single dimension array of values and (a,b,n,D) are scalar. w=1./((a*F./(D*sum(F))-exp(-n/b));

6 years ago | 0

Submitted


T-Line Simulation
This simulates a transmission line and calculate the variables for placing different components in parallel to match the line to...

6 years ago | 480 downloads |

0.0 / 5
Thumbnail

Answered
Finding the intersect between 2 lines
xrt = linspace((1/297.7), (1/446.1), 20000); m11 = -197.7506; x11 = 0.0031; b11 = 20.8898; line1=@(x)m11*(x-x11)+b11; plot(...

6 years ago | 0

Answered
hi guys i need to execute this in matlab and i dont know how
x=(1/3).^(1:length(u)).*u;%assuming u is an array, others similarly

6 years ago | 0

Load more