Solved


Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

10 months ago

Solved


Power Numbers
Find the n-th power of m.

10 months ago

Solved


Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

10 months ago

Solved


Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1

10 months ago

Solved


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

10 months ago

Solved


raise 1/3
Raise a number to 1/3 power.

10 months ago

Solved


area

10 months ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

10 months ago

Solved


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

10 months ago

Solved


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

10 months ago

Solved


Saving MATLAB session to a file
How to save MATLAB session to a file?

10 months ago

Solved


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

10 months ago

Solved


Max of a Vector
Write a function to return the max of a vector

10 months ago

Solved


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

10 months ago

Solved


Half the length of the vector

10 months ago

Solved


number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...

10 months ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

10 months ago

Solved


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

10 months ago

Solved


Multiply pi
Multiply pi with x!

10 months ago

Solved


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

10 months ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

10 months ago

Solved


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

10 months ago

Solved


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

10 months ago

Solved


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

10 months ago

Solved


Buzz
Dado um nĂºmero inteiro n, retorne 'buzz' se esse valor for multiplo de 5, ou retorne o valor caso contrario. Buzz(5) = 'buzz'; ...

10 months ago

Solved


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

10 months ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

10 months ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

10 months ago

Solved


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

10 months ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

10 months ago

Load more