Community Profile

photo

Shivani Dixit

MathWorks

Last seen: 5 mois il y a Actif depuis 2021

Followers: 0   Following: 0

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

Statistiques

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

Afficher les badges

Feeds

Afficher par

A répondu
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...

plus d'un an il y a | 0

A répondu
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 ...

plus d'un an il y a | 0

A répondu
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....

plus d'un an il y a | 0

A répondu
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...

plus d'un an il y a | 0

| A accepté

A répondu
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 ...

plus d'un an il y a | 0

| A accepté

A répondu
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...

plus d'un an il y a | 0

A répondu
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...

plus d'un an il y a | 0

A répondu
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...

plus d'un an il y a | 0

A répondu
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...

plus d'un an il y a | 0

| A accepté

A répondu
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...

plus d'un an il y a | 0

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A résolu


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

presque 3 ans il y a

A répondu
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...

presque 3 ans il y a | 0

A répondu
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...

presque 3 ans il y a | 2

| A accepté

A résolu


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

presque 3 ans il y a

Charger plus