Community Profile

photo

Shivani Dixit

MathWorks

Last seen: 5 mesi fa Attivo dal 2021

Followers: 0   Following: 0

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

Statistiche

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

Visualizza badge

Feeds

Visto da

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

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

quasi 3 anni fa | 0

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

quasi 3 anni fa | 2

| accettato

Risolto


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

quasi 3 anni fa

Carica altro