Community Profile

# SUBROTA HALDER

### Indian Institute of Tropical Meteorology Pune

385 2016 年以降の合計貢献数

Junior Research Fellow at IITM Pune

#### SUBROTA HALDER's バッジ

Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

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.

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

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

How to Concatenate two strings?
How to Concatenate two strings?

Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

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

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?

square root
Find square root of given number

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

Sum two matrices
Take two incoming matrices, and sum them

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

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

Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

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)

Matrix Max Finder
Output the maximum value in a matrix

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

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

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

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

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

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

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

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

prime test 2
enter the only non prime,non composite number

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

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

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

Sum of integers numbers
Sum of the numbers from 1 to 100