Community Profile

# Vignesh Raman

##### Last seen: 약 2달 전
75 2021 이후 총 참여 횟수

#### Vignesh Raman's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Converts numbers into characters
Converts numbers into characters

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

to the 2 all elements
to the 2 all elements

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

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

약 2달 전

해결됨

MATLAB Basic: rounding IV

약 2달 전

해결됨

MATLAB Basic: rounding III