Community Profile

photo

Ganesh


Last seen: 3 Tage vor Aktiv seit 2023

Followers: 0   Following: 0

Statistiken

All
  • Solver
  • Thankful Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

10 Tage vor

Gelöst


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

10 Tage vor

Gelöst


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

10 Tage vor

Gelöst


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

10 Tage vor

Gelöst


Find max
Find the maximum value of a given vector or matrix.

10 Tage vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

10 Tage vor

Gelöst


Inner product of two vectors
Find the inner product of two vectors.

10 Tage vor

Gelöst


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

10 Tage vor

Gelöst


Laws of motion 2

3 Monate vor

Gelöst


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

3 Monate vor

Gelöst


Laws of motion 5

3 Monate vor

Gelöst


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

3 Monate vor

Gelöst


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

3 Monate vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

3 Monate vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

3 Monate vor

Gelöst


Potential energy calculation

3 Monate vor

Gelöst


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

3 Monate vor

Gelöst


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

3 Monate vor

Gelöst


Laws of motion 6

3 Monate vor

Gelöst


Laws of motion 3

3 Monate vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

3 Monate vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 Monate vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 Monate vor

Gelöst


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 Monate vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

5 Monate vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 Monate vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 Monate vor

Frage


How to avoid log10 from calculating for log values or if its calculated for complex log how do i avoid it?
for example if code log10(-3) i get ans = 0.4771 + 1.3644i but as we know log isn't defined for negative value. ...

6 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
How can I determine the order of a symbolic differential equation?
function order = order_polynomial(poly1,x) count=0; temp=1; while(temp~=0) poly1=diff(poly1,x); if poly1==0 ...

etwa ein Jahr vor | 0