Junior Research Fellow at IITM Pune

Solved

Back to Basics - New Data Type in R2016b - convert a char to a string

Convert an char array into a string.

2 years ago

Solved

Speed of car travelling x meters in y seconds

What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

2 years ago

Solved

Sum the rows

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

2 years ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

2 years ago

Solved

Find cosine between two given vectors u and v.

Find cosine between two given vectors u and v. Example u = [5 2 0 5 3 0]; v = [3 2 5 1 ...

2 years ago

Solved

Counting votes

x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

2 years ago

Solved

Count the numbers

In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

2 years ago

Solved

Vector Element Multiplication

Take two incoming vectors, and output the element wise multiplication of the vectors.

2 years ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

2 years ago

Solved

Find the mean of two vectors

Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

2 years ago

Solved

Calories in a slice of pizza?

The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

2 years ago

Solved

Simple Vector Addition

Take two incoming vectors and output the sum of the two vectors

2 years ago

Solved

Replace all odd numbers with NaN

Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

2 years ago

Solved

Average of even-numbered columns

Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

2 years ago

Solved

Probability of red tulips

I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

2 years ago

Solved

Rankine to Kelvin Converter

Given input R, degrees Rankine, convert into degrees Kelvin.

2 years ago

Solved

Performance - summation

Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

2 years ago

Solved

All odd - all even

All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

2 years ago

Solved

Test if a matrix is symmetric

Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

2 years ago

Solved

Cody Computer Part 4 : Are you a morning Cody player Addicted ?

This is a stupid Cody challenge. You just have to *click "Submit" between 7 and 9 AM.* ... Greenwich Mean Time (GMT). To see ...

2 years ago

Solved

Number of problems

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

2 years ago