Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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]

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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]

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Cargar más