Community Profile

# Shivanshi Patel

### PDPM IIIT Jabalpur

Last seen: 20일 전 2021년부터 활동

Student B. Tech 'ECE'

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

약 2달 전

문제를 풀었습니다

Largest territory
Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

약 2달 전

문제를 풀었습니다

Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

약 2달 전

문제를 풀었습니다

Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

약 2달 전

문제를 풀었습니다

counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

약 2달 전

문제를 풀었습니다

Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

약 2달 전

문제를 풀었습니다

Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

약 2달 전

문제를 풀었습니다

SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

약 2달 전

문제를 풀었습니다

Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

약 2달 전

문제를 풀었습니다

Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

약 2달 전

문제를 풀었습니다

Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

약 2달 전

문제를 풀었습니다

Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

약 2달 전

문제를 풀었습니다

Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

약 2달 전

문제를 풀었습니다

Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

약 2달 전

문제를 풀었습니다

Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

약 2달 전

문제를 풀었습니다

Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

약 2달 전

문제를 풀었습니다

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

약 2달 전

문제를 풀었습니다

2倍してみよう - ここからスタート！

약 2달 전

문제를 풀었습니다

약 2달 전

문제를 풀었습니다

ベクトルのスケーリング

약 2달 전

문제를 풀었습니다

Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

약 2달 전

문제를 풀었습니다

Sum of series VIII

약 2달 전

문제를 풀었습니다

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

약 2달 전

문제를 풀었습니다

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

약 2달 전

문제를 풀었습니다

How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

약 2달 전

문제를 풀었습니다

Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

약 2달 전

문제를 풀었습니다

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

약 2달 전

문제를 풀었습니다

Energy Conversion 2

약 2달 전

문제를 풀었습니다

Energy Conversion 1

약 2달 전

문제를 풀었습니다

Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

약 2달 전