Solved


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

10 years ago

Solved


Calculate gradient
x=1:0.1:5; y=x.^2; calculate gradient (dy/dx) using numerical method. This means dydx(i)=(y(i+1)-y(i))/(x(i+1)-x(i)...

10 years ago

Solved


Draw circles!
How to plot circle using matlab? using given variable [s], calculate x and y points of the circle that center is (0,0), radiu...

10 years ago

Solved


Make three random number on a sphere
Make three random number but these numbers, [x],[y], and [z], should accomplish x^2+y^2+z^2=1 (hint: spherical coordinate ...

10 years ago

Solved


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

10 years ago

Solved


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

10 years ago

Solved


The mean of the population
Find the mean of the population.

10 years ago

Solved


how to find unique values in matrix
how to find unique values in matrix for give x matrix.

10 years ago

Solved


find number of buses for given to and from lines
find number of buses for given to and from lines

10 years ago

Solved


Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave

10 years ago

Solved


Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

10 years ago

Solved


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

10 years ago

Solved


How to power of a given number&exponent?
How to power of a given number&exponent?

10 years ago

Solved


how to find eigen values of given matrix?
how to find eigen values of given matrix?

10 years ago

Solved


how to find absolute value of a given number?
how to find absolute value of a given number?

10 years ago

Solved


how to sort given vector in matlab?
how to sort given vector in matlab?

10 years ago

Solved


How find transpose of a matrix?
How find transpose of a matrix?

10 years ago

Solved


how to find size of a matrix?
how to find size of a matrix?

10 years ago

Solved


Create cosine function out of sine
Please dont use cos(x) directly

10 years ago

Solved


Create sine function out of cosine
Please don't use sin(x) directly

10 years ago

Solved


Create tangent function out of sin and cos
Please don't use tan(x) directly

10 years ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

10 years ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

10 years ago

Solved


Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1 1 1]

10 years ago

Solved


Create a code for XNOR
Given two inputs, output XNOR of those two

10 years ago

Solved


A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

10 years ago

Solved


Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

10 years ago

Solved


Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

10 years ago

Solved


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

10 years ago

Solved


Print true if (2)
There are 0. a=[1 2 3 4 0]; b=[1 1 1 1 1]; function(a) is true, and function(b) is false.

10 years ago

Load more