Community Profile

photo

Shivani Dixit

MathWorks

Last seen: 5 månader ago Active since 2021

Followers: 0   Following: 0

DISCLAIMER : Any advice or opinions posted here are my own and do not reflect that of Mathworks.

Statistics

All
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How do i write the MATLAB code for the expression given below?
Hi Hemvarshan, I understand that you want to convert the above expression into MATLAB Code. From the code it seems that you a...

mer än ett år ago | 0

Answered
Arduino Nano 33 BLE MATLAB(Simulink) Connection Issues
Hi Nathan, As per my understanding you are facing error while creating a communication link with the serial port using Arduino ...

mer än ett år ago | 0

Answered
Need help converting this answer to code? Please help!!
Hi Ruben, As per my understanding you want to write code for the above solution but while doing so you are facing some errors....

mer än ett år ago | 0

Answered
displays an error message of a program that doesn't exist
Hi Aditya, I understand that you are facing issue in execution of the script "InputExampleCircle" in MATLAB. The most probable...

mer än ett år ago | 0

| accepted

Answered
How to close the text editor of Data Inspector in simulink
Hello, I understand that you are facing issue in closing the Data Inspector’s “Text Editor” in Simulink. You may not need to ...

mer än ett år ago | 0

| accepted

Answered
Index exceeds the number of array elements
Hello, I understand that you get the error “Matrix is singular to working precision“ while executing your Simulink model. The...

mer än ett år ago | 0

Answered
Execution time is varying every time I run the program using tic toc. Is there any way to solve this?
Hello, As per the data provided it seems the tic and toc functions display approximately same values except for times when valu...

mer än ett år ago | 0

Answered
CVX optimization of semidefinite relaxation (SDR) with complex matrix
Hello, From the code provided it seems that you are calculating the traces of a complex valued matrix and then comparing it wit...

mer än ett år ago | 0

Answered
Big O computation of CNN architecture in deep learning
Hello, Generally, we do not disclose the inner workings of built-in MATLAB functions, which includes providing specific values...

mer än ett år ago | 0

| accepted

Answered
Change Constant Block Font
Hello Dana, I understand that you want to know how to change the content of the text and not only the font in Simulink Constan...

mer än ett år ago | 0

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

nästan 3 år ago

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

nästan 3 år ago

Solved


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

nästan 3 år ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

nästan 3 år ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

nästan 3 år ago

Solved


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

nästan 3 år ago

Solved


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

nästan 3 år ago

Solved


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

nästan 3 år ago

Solved


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

nästan 3 år ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

nästan 3 år ago

Solved


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

nästan 3 år ago

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

nästan 3 år ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

nästan 3 år ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

nästan 3 år ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

nästan 3 år ago

Solved


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

nästan 3 år ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

nästan 3 år ago

Answered
Hi, Can someone help me with this?
The above issue can be solved in following methods: When you could create an empty vector for z (as mentioned above), you can k...

nästan 3 år ago | 0

Answered
How to create Matrix of known dimensions with random values?
A matrix of know dimensions and random values can be created by using the rand() function. You just need to provide the required...

nästan 3 år ago | 2

| accepted

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

nästan 3 år ago

Load more