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.

circa 3 anni 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.

circa 3 anni ago

Solved

Sum the rows

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

circa 3 anni ago

Solved

Sum of cubes

Write a program to determine sum of cubes of first n odd numbers.

circa 3 anni ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

circa 3 anni 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 ...

circa 3 anni 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?

circa 3 anni 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...

circa 3 anni ago

Solved

Vector Element Multiplication

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

circa 3 anni ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

circa 3 anni 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)

circa 3 anni 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...

circa 3 anni ago

Solved

Simple Vector Addition

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

circa 3 anni 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...

circa 3 anni 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

circa 3 anni 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...

circa 3 anni ago

Solved

Rankine to Kelvin Converter

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

circa 3 anni 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...

circa 3 anni 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)-...

circa 3 anni ago

Solved

Test if a matrix is symmetric

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

circa 3 anni 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 ...

circa 3 anni 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).

circa 3 anni ago