Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

8 years ago

Solved


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

8 years ago

Solved


Rank of magic square (for beginners)
Compute the rank r of a magic square of order n WITHOUT rank and magic functions.

8 years ago

Solved


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

8 years ago

Solved


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

8 years ago

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

8 years ago

Solved


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

8 years ago

Solved


Better Index Number
Let's say you want to save many, many files and append these files with a certain sortable index number. As you probably know, y...

8 years ago

Solved


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

8 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

8 years ago

Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

8 years ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

8 years ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

8 years ago

Solved


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

8 years ago

Solved


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

8 years ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

8 years ago

Solved


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

8 years ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

8 years ago

Solved


arrangement of symbols
There are n different symbols in which m symbols are identical (m<n). How many different arrangement can we make with these symb...

8 years ago

Solved


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

8 years ago

Solved


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

8 years ago

Solved


Dancing with wolves?
let wolf() make one or two steps to get a feel of the beat, it is waltz, do not let wolf() make the third step, return safely ju...

8 years ago

Solved


Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

8 years ago

Solved


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

8 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

8 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

8 years ago

Solved


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

8 years ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

8 years ago

Solved


To convolve two vectors
To convolve two vectors

8 years ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

8 years ago

Load more