photo

Shivani Dixit

MathWorks

Last seen: 7일 전 2021년부터 활동

Followers: 0   Following: 0

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

통계학

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

배지 보기

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

대략 2년 전 | 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 ...

대략 2년 전 | 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....

대략 2년 전 | 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...

대략 2년 전 | 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 ...

대략 2년 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 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...

2년 초과 전 | 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년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

답변 있음
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년 초과 전 | 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...

3년 초과 전 | 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년 초과 전

더 보기