Community Profile

# Sunil Kumar Giri

### National Institute of Technology, Tiruchirappalli

93 2019 이후 총 참여 횟수

Control and Instrumentation Engineer by Profile, MATLAB enthusiast by hobby.

#### Sunil Kumar Giri's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

y equals x divided by 2
function y = x/2

3달 전

해결됨

Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

3달 전

해결됨

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

3달 전

해결됨

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3달 전

해결됨

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3달 전

해결됨

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

3달 전

해결됨

02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

3달 전

해결됨

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

3달 전

해결됨

only input
Return the output without writing any code into the function.

3달 전

해결됨

Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

3달 전

해결됨

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

3달 전

해결됨

03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

3달 전

해결됨

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

3달 전

해결됨

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

3달 전

해결됨

Calculate square and cube of number
Calculate square and cube of number x

3달 전

해결됨

03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

3달 전

해결됨

07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

3달 전

해결됨

Square a Number
Given an input x, return y, which is equal to the square of x.

3달 전

해결됨

Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

3달 전

해결됨

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

3달 전

해결됨

Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

3달 전

해결됨

Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

3달 전

해결됨

Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

3달 전

해결됨

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

3달 전

해결됨

MATLAB Basic: rounding II

3달 전

해결됨

Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

3달 전

해결됨

03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

3달 전

해결됨

Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

3달 전

해결됨

Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

3달 전

해결됨

Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

3달 전