Resuelto


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

casi 10 años hace

Resuelto


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

casi 10 años hace

Resuelto


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

casi 10 años hace

Resuelto


Marvel or DC?
Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

casi 10 años hace

Resuelto


Create given matrix
y = 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 1 1 ...

casi 10 años hace

Resuelto


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

casi 10 años hace

Resuelto


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

casi 10 años hace

Resuelto


Display positive elements of matrix.
Display positive elements of matrix.

casi 10 años hace

Resuelto


Сoncatenate two strings.
Сoncatenate two strings. Example s1='Hello' s2='world' result='Hello world'

casi 10 años hace

Resuelto


Compare two strings.
Compare two strings, whether they are equal or not.

casi 10 años hace

Resuelto


Select primes from the matrix.
Select primes from the matrix.

casi 10 años hace

Resuelto


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

casi 10 años hace

Resuelto


Adding each element
Add the each element of the matrix.

casi 10 años hace

Resuelto


Find my daddy short leg
Given the ratio of the two legs,and the hypotenuse, find the value of the shorter leg

casi 10 años hace

Resuelto


x&u are two vectors then Y=x+u???
x&u are two vectors then Y=x+u???

casi 10 años hace

Resuelto


Slope of the line passing through the point [x1 y1] and [x2 y2]
Determin the slope of Line passing through the points a=[x1 y1] and b=[x2 y2]

casi 10 años hace

Resuelto


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

casi 10 años hace

Resuelto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

casi 10 años hace

Resuelto


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

casi 10 años hace

Resuelto


Calculate cross product
Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

casi 10 años hace

Resuelto


Make random permutation
Make random permutation that consist of random number from 1 to n.

casi 10 años hace

Resuelto


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

casi 10 años hace

Resuelto


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Find x,y,z. Output should be a=[x;y;z].

casi 10 años hace

Resuelto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

casi 10 años hace

Resuelto


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

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


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

casi 10 años hace

Resuelto


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

casi 10 años hace

Resuelto


Create square matrix with given conditions.
Create square matrix which should be like given matrix M. M = [ n^2 n*(n-1) n*(n-2) ... n*2 n; n*(n-1)...

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

Cargar más