Community Profile

photo

Guoyi Xu

MathWorks

Last seen: casi 2 años hace Con actividad desde 2022

Followers: 0   Following: 0

Estadísticas

  • Draw Letters
  • Matrix Manipulation II Master
  • Promoter
  • Community Group Solver
  • CUP Challenge Master
  • Commenter
  • Tiles Challenge Master
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

alrededor de 2 años hace

Resuelto


wipe out!
make all the elements in given x zero.

alrededor de 2 años hace

Resuelto


determine if
determine if the elements of a matrix is a nan and return true

alrededor de 2 años hace

Resuelto


Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ). The input is an array (unsorted) of those natural num...

alrededor de 2 años hace

Resuelto


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

alrededor de 2 años hace

Resuelto


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

alrededor de 2 años hace

Resuelto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

alrededor de 2 años hace

Resuelto


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

alrededor de 2 años hace

Resuelto


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

alrededor de 2 años hace

Resuelto


short or buy ? take the opportunity
you had already calculated a theoretical stock value, now you checked in bloomberg the quoted price of that stock and you have t...

alrededor de 2 años hace

Resuelto


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

alrededor de 2 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

alrededor de 2 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...

alrededor de 2 años hace

Resuelto


Finding two missing number in 1 to n array
You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

alrededor de 2 años hace

Resuelto


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

alrededor de 2 años hace

Resuelto


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

alrededor de 2 años hace

Resuelto


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

alrededor de 2 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]

alrededor de 2 años hace

Resuelto


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

alrededor de 2 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.

alrededor de 2 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;

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


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

alrededor de 2 años hace

Resuelto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

alrededor de 2 años hace

Resuelto


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

alrededor de 2 años hace

Resuelto


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

alrededor de 2 años hace

Resuelto


How to Concatenate two strings?
How to Concatenate two strings?

alrededor de 2 años hace

Resuelto


Create tangent function out of sine function only
Please don't use cosine and tangent functions

alrededor de 2 años hace

Cargar más