已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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]

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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]

8 years 前

已解决


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

8 years 前

已解决


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.

8 years 前

加载更多