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.

nästan 3 år 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.

nästan 3 år ago

Solved

Sum the rows

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

nästan 3 år ago

Solved

Sum of cubes

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

nästan 3 år ago

Solved

Matrix element wise multiplication

Take two incoming vectors, and multiply them element wise

nästan 3 år 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 ...

nästan 3 år 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?

nästan 3 år 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...

nästan 3 år ago

Solved

Vector Element Multiplication

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

nästan 3 år ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

nästan 3 år 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)

nästan 3 år 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...

nästan 3 år ago

Solved

Simple Vector Addition

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

nästan 3 år 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...

nästan 3 år 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

nästan 3 år 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...

nästan 3 år ago

Solved

Rankine to Kelvin Converter

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

nästan 3 år 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...

nästan 3 år 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)-...

nästan 3 år ago

Solved

Test if a matrix is symmetric

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

nästan 3 år 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 ...

nästan 3 år 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).

nästan 3 år ago