![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/30268476_1685340154230_DEF.jpg)
Aman
Followers: 0 Following: 0
Feeds
답변 있음
change simulink m file name issue
Hi, The reason for the error is that filesystems are generally case-insensitive. So, a workaround can be to first rename the fi...
change simulink m file name issue
Hi, The reason for the error is that filesystems are generally case-insensitive. So, a workaround can be to first rename the fi...
대략 1년 전 | 0
| 수락됨
답변 있음
Why do I receive errors in stateflow onramp ?
Hi Meghana, Please remove all symbols except requestMode, because they are not being used in this task and hence are not being ...
Why do I receive errors in stateflow onramp ?
Hi Meghana, Please remove all symbols except requestMode, because they are not being used in this task and hence are not being ...
대략 1년 전 | 0
| 수락됨
문제를 풀었습니다
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 ...
대략 1년 전
문제를 풀었습니다
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
대략 1년 전
문제를 풀었습니다
Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...
대략 1년 전
문제를 풀었습니다
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...
대략 1년 전
문제를 풀었습니다
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...
대략 1년 전
문제를 풀었습니다
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
대략 1년 전
답변 있음
How to access element of a matrix using vector function
Hi Shubhankar, You can use of the following two approaches: Store the output in a new variable. A=rand(3,10) i = 2; columnV...
How to access element of a matrix using vector function
Hi Shubhankar, You can use of the following two approaches: Store the output in a new variable. A=rand(3,10) i = 2; columnV...
대략 1년 전 | 1
답변 있음
multiplying with a with a scaler in a vector element at regular interval
Hi, To multiply specific elements of a 15x1 vector by a scalar at regular intervals (3, 6, 9, 12, 15), you can use indexing to ...
multiplying with a with a scaler in a vector element at regular interval
Hi, To multiply specific elements of a 15x1 vector by a scalar at regular intervals (3, 6, 9, 12, 15), you can use indexing to ...
대략 1년 전 | 1
답변 있음
Can someone give me a simple example about how to use the uibutton 'state' property?
Hi Miguel, Here’s an example code that demonstrates how to create a toggle button with a callback function that displays the ap...
Can someone give me a simple example about how to use the uibutton 'state' property?
Hi Miguel, Here’s an example code that demonstrates how to create a toggle button with a callback function that displays the ap...
대략 1년 전 | 1
| 수락됨
문제를 풀었습니다
Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...
대략 1년 전
문제를 풀었습니다
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...
대략 1년 전
문제를 풀었습니다
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
대략 1년 전
문제를 풀었습니다
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...
대략 1년 전
답변 있음
Usage of chi2gof: how to derive the "expected" values from the fitting distribution to then use them as argument of chi2gof?
Hi Sim, To generate the expected counts from a fitted distribution, you can use the probability density function (PDF) of the f...
Usage of chi2gof: how to derive the "expected" values from the fitting distribution to then use them as argument of chi2gof?
Hi Sim, To generate the expected counts from a fitted distribution, you can use the probability density function (PDF) of the f...
대략 1년 전 | 1
| 수락됨
답변 있음
Usage of chi2gof
Hi Sim, You can add expected value as a parameter as given in chi2gof documentation. Here is an example for the same, obser...
Usage of chi2gof
Hi Sim, You can add expected value as a parameter as given in chi2gof documentation. Here is an example for the same, obser...
대략 1년 전 | 2
| 수락됨
답변 있음
Create MATLAB Function block with output size set at compile time
Hi, You can try adding the line, u = u(1); before y(:) = ones(1,n)*u
Create MATLAB Function block with output size set at compile time
Hi, You can try adding the line, u = u(1); before y(:) = ones(1,n)*u
대략 1년 전 | 0
답변 있음
uiconfirm with one button
Hi Piero, To create a uiconfirm dialog box with only one button, you can use the 'Option' parameter. Here's an example code sni...
uiconfirm with one button
Hi Piero, To create a uiconfirm dialog box with only one button, you can use the 'Option' parameter. Here's an example code sni...
대략 1년 전 | 2
| 수락됨
답변 있음
Previously accessible file is now inaccessible.
Hi Pawel, Try using the following command, rehash toolboxcache; You can refer to this link for more information, https://www...
Previously accessible file is now inaccessible.
Hi Pawel, Try using the following command, rehash toolboxcache; You can refer to this link for more information, https://www...
대략 1년 전 | 0
답변 있음
How to store values from a loop?
Hi Edward, To save the average V_f value from each DTA file, you can create an array V_favg_all to store the average values. H...
How to store values from a loop?
Hi Edward, To save the average V_f value from each DTA file, you can create an array V_favg_all to store the average values. H...
대략 1년 전 | 0
문제를 풀었습니다
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...
대략 1년 전
문제를 풀었습니다
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
대략 1년 전
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
대략 1년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
대략 1년 전
답변 있음
Graph plot multiple datasets: how to show dataset name when hovering over dataset
Hi Ferry, You can use the built-in Data Cursor tool in MATLAB to display custom information when hovering over data points on a...
Graph plot multiple datasets: how to show dataset name when hovering over dataset
Hi Ferry, You can use the built-in Data Cursor tool in MATLAB to display custom information when hovering over data points on a...
대략 1년 전 | 2
| 수락됨
문제를 풀었습니다
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
대략 1년 전
문제를 풀었습니다
The Goldbach Conjecture
The Goldbach conjecture asserts that every even integer greater than 2 can be expressed as the sum of two primes. Given the eve...
대략 1년 전
문제를 풀었습니다
Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
대략 1년 전
답변 있음
exec error 22 attemping to run MathWorksProdcutInstaller.exe For Matlab 2022a
Hi Zouaooui, This error occurs due to one of the following reasons: You may not have enough disk space on your computer. File...
exec error 22 attemping to run MathWorksProdcutInstaller.exe For Matlab 2022a
Hi Zouaooui, This error occurs due to one of the following reasons: You may not have enough disk space on your computer. File...
대략 1년 전 | 0