Community Profile # priyanka shrivastava

Last seen: 7 months ago Active since 2013

Hi
Professional Interests: Coding

#### Statistics

All
• • • • • • • #### Content Feed

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

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

5 years ago

Solved

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

5 years 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!...

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

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

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

7 years ago

Solved

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

7 years ago

Solved

Positive Infinity
Round the array a towards positive infinity

7 years ago

Problem

Positive Infinity
Round the array a towards positive infinity

7 years ago | 1 | 270 solvers

Solved

Negative Infinity
Round the given array a towards negative infinity.

7 years ago

Problem

Negative Infinity
Round the given array a towards negative infinity.

7 years ago | 0 | 252 solvers

Solved

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

7 years ago

Solved

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

7 years ago

Problem

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

7 years ago | 1 | 105 solvers

Solved

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

7 years ago

Problem

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

7 years ago | 0 | 302 solvers

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

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

7 years ago | 0 | 112 solvers

Problem

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

7 years ago | 0 | 17 solvers

Solved

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

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

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

7 years ago

Solved

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

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

7 years ago

Solved

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

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

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

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

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

7 years ago