Community Profile

# Vignesh Raman

##### Last seen: etwa ein Monat ago
75 total contributions since 2021

View details...

Contributions in
View by

Solved

Converts numbers into characters
Converts numbers into characters

etwa ein Monat ago

Solved

Find the max element of the array
Find the max element of the array

etwa ein Monat ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

etwa ein Monat ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

etwa ein Monat ago

Solved

to the 2 all elements
to the 2 all elements

etwa ein Monat ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

etwa ein Monat ago

Solved

Double all elements in the array
Duplicate all elements in the array

etwa ein Monat ago

Solved

calculate the length of matrix
input 1 array, calculate the length

etwa ein Monat ago

Solved

Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

etwa ein Monat ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

etwa ein Monat ago

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

etwa ein Monat ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

etwa ein Monat ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

etwa ein Monat ago

Solved

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

etwa ein Monat ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

etwa ein Monat ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

etwa ein Monat ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

etwa ein Monat ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

etwa ein Monat ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

etwa ein Monat ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

etwa ein Monat ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa ein Monat ago

Solved

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

etwa ein Monat ago

Solved

Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

etwa ein Monat ago

Solved

Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

etwa ein Monat ago

Solved

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

etwa ein Monat ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

etwa ein Monat ago

Solved

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

etwa ein Monat ago

Solved

MATLAB Basic: rounding IV

etwa ein Monat ago

Solved

MATLAB Basic: rounding III