Feeds
답변 있음
Strange behavior: gain bocks which integrate step inputs
The issue with the lines being slanted is due to the fact that Simulink sees these signals as continuous so it will connect the ...
Strange behavior: gain bocks which integrate step inputs
The issue with the lines being slanted is due to the fact that Simulink sees these signals as continuous so it will connect the ...
11년 초과 전 | 0
| 수락됨
문제를 풀었습니다
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
거의 12년 전
문제를 풀었습니다
Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...
거의 12년 전
답변 있음
How do I change Design Verifier default confinguration parameter preferences?
Hi Erik, I don't know of a way to set the default options for Simulink Design Verifier, however using the command line versio...
How do I change Design Verifier default confinguration parameter preferences?
Hi Erik, I don't know of a way to set the default options for Simulink Design Verifier, however using the command line versio...
거의 12년 전 | 0
답변 있음
Why does XY Graph affect algebraic loop solver?
The problem is that adding blocks to your model (such as the XY Graph) causes the <http://www.mathworks.com/help/simulink/ug/con...
Why does XY Graph affect algebraic loop solver?
The problem is that adding blocks to your model (such as the XY Graph) causes the <http://www.mathworks.com/help/simulink/ug/con...
거의 12년 전 | 0
| 수락됨
답변 있음
How can I set that only one of the subservers can be used at a time?
Here are two possibilities: 1) Do you really need two separate server blocks? The simplest solution might be to set an entity...
How can I set that only one of the subservers can be used at a time?
Here are two possibilities: 1) Do you really need two separate server blocks? The simplest solution might be to set an entity...
거의 12년 전 | 0
답변 있음
How to retrieve a subblock name at initalization.
Another simpler option might be to just use a constant block with the value: uint8('LookupKey') You could then hide the ...
How to retrieve a subblock name at initalization.
Another simpler option might be to just use a constant block with the value: uint8('LookupKey') You could then hide the ...
거의 12년 전 | 0
문제를 풀었습니다
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
12년 초과 전
문제를 풀었습니다
Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...
12년 초과 전
답변 있음
SINEWAVE IN SCOPE (simscape)
To see the sinusoidal voltage variation you need to reduce the step size of the simulation. Go to Simulation -> Configuration Pa...
SINEWAVE IN SCOPE (simscape)
To see the sinusoidal voltage variation you need to reduce the step size of the simulation. Go to Simulation -> Configuration Pa...
12년 초과 전 | 2
| 수락됨
답변 있음
How do I run a simulink model in real-time in normal mode
Running in real-time in normal mode is a new feature of Real-Time Windows Target in R2012a. To run in real-time you do need to a...
How do I run a simulink model in real-time in normal mode
Running in real-time in normal mode is a new feature of Real-Time Windows Target in R2012a. To run in real-time you do need to a...
12년 초과 전 | 0
답변 있음
How to close Simulink model subsystems
Assuming your top-level model is called TopModel you could use: a = find_system('Parent','TopModel'); close_system(a)
How to close Simulink model subsystems
Assuming your top-level model is called TopModel you could use: a = find_system('Parent','TopModel'); close_system(a)
12년 초과 전 | 0
답변 있음
Analog circuits in Simulink
The error seems to indicate that you are missing a solver block, but you have one in the image you've attached. For the case of ...
Analog circuits in Simulink
The error seems to indicate that you are missing a solver block, but you have one in the image you've attached. For the case of ...
12년 초과 전 | 0
| 수락됨
답변 있음
Moving from video to 3D Environment
<http://www.mathworks.com/products/3d-animation/demos.html Simulink 3D Animation> should allow you to do what you are looking fo...
Moving from video to 3D Environment
<http://www.mathworks.com/products/3d-animation/demos.html Simulink 3D Animation> should allow you to do what you are looking fo...
12년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
거의 13년 전
문제를 풀었습니다
Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...
거의 13년 전
문제를 풀었습니다
Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...
거의 13년 전
답변 있음
xpc target
Yes, you have the basic idea correct. If you haven't already I recommend reading through the <http://www.mathworks.com/products/...
xpc target
Yes, you have the basic idea correct. If you haven't already I recommend reading through the <http://www.mathworks.com/products/...
거의 13년 전 | 0
답변 있음
Multiprocessing in Simulink
The primary mechanism to leverage a multi-core or multi-processor system with Simulink is to run multiple simulations in paralle...
Multiprocessing in Simulink
The primary mechanism to leverage a multi-core or multi-processor system with Simulink is to run multiple simulations in paralle...
거의 13년 전 | 1
| 수락됨
문제를 풀었습니다
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
거의 13년 전
문제를 풀었습니다
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
거의 13년 전
문제를 풀었습니다
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
거의 13년 전
문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
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. Example...
거의 13년 전