Community Profile

# priyanka shrivastava

##### Last seen: circa un mese ago
258 total contributions since 2013

Hi
Professional Interests: Coding

View details...

Contributions in
View by

Question

Can I create a Simulink Project in MATLAB 2019b and still be able to load it in MATLAB 2018b?
Hello, We use three MATLAB versions 2017b, 2018b and 2019b. Can I create a Simulink Project in MATLAB 2019b and still be able t...

4 mesi ago | 1 answer | 0

### 1

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

oltre 4 anni ago

Solved

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

oltre 4 anni ago

Solved

Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

oltre 6 anni ago

Solved

Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

oltre 6 anni ago

Solved

Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

oltre 6 anni ago

Solved

Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

oltre 6 anni ago

Solved

give nth decimal place of pi
max 15th place after the decimal point is ok for now

oltre 6 anni ago

Solved

Positive Infinity
Round the array a towards positive infinity

oltre 6 anni ago

Problem

Positive Infinity
Round the array a towards positive infinity

oltre 6 anni ago | 1

Solved

Negative Infinity
Round the given array a towards negative infinity.

oltre 6 anni ago

Problem

Negative Infinity
Round the given array a towards negative infinity.

oltre 6 anni ago | 0

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

oltre 6 anni ago

Solved

Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

oltre 6 anni ago

Problem

Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

oltre 6 anni ago | 1

Solved

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

oltre 6 anni ago

Problem

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

oltre 6 anni ago | 0

Solved

Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

oltre 6 anni ago

Problem

Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

oltre 6 anni ago | 0

Problem

Covering some basic topics I haven't seen anywhere in Cody. Write a function to Pre-allocate memory for a Non Double matrix

oltre 6 anni ago | 0

Solved

Covering some basic topics I haven't seen anywhere in Cody. Write a function to Pre-allocate memory for a Non Double matrix

oltre 6 anni ago

Solved

Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

oltre 6 anni ago

Solved

Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

oltre 6 anni ago

Solved

Phonebook-like problem
strcmpi('Yes', 'No')

oltre 6 anni ago

Solved

Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

oltre 6 anni ago

Solved

Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

oltre 6 anni ago

Solved

Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

oltre 6 anni ago

Solved

Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

oltre 6 anni ago

Solved

Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

oltre 6 anni ago

Solved

What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

oltre 6 anni ago