Shivani Dixit
MathWorks
Followers: 0 Following: 0
DISCLAIMER : Any advice or opinions posted here are my own and do not reflect that of Mathworks.
Feeds
已回答
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...
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...
2 years 前 | 0
已回答
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 ...
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 ...
2 years 前 | 0
已回答
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....
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....
2 years 前 | 0
已回答
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...
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...
2 years 前 | 0
| 已接受
已回答
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 ...
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 ...
2 years 前 | 0
| 已接受
已回答
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...
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...
2 years 前 | 0
已回答
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...
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...
2 years 前 | 0
已回答
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...
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...
2 years 前 | 0
已回答
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...
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...
2 years 前 | 0
| 已接受
已回答
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...
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...
2 years 前 | 0
已解决
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...
3 years 前
已解决
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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 ...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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 ...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已解决
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...
3 years 前
已回答
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...
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...
3 years 前 | 0
已回答
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...
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...
3 years 前 | 2
| 已接受
已解决
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 =...
3 years 前