문제를 풀었습니다


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

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

13년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

13년 초과 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

답변 있음
Custom library within another custom library
*Parameter dialog callback* is not executed when parameter value is changed programmatically using _set_param()_ command. See th...

13년 초과 전 | 2

| 수락됨

답변 있음
Lookup table code generation
To generate the the function call as you have shown, you can use s-function and it's in-lining TLC file. There is no need to wr...

13년 초과 전 | 2

| 수락됨

답변 있음
Run a compilation of mdf file from Matlab
Assuming that from complication of model, you mean code generation or building a model. You can change the *System target fil...

13년 초과 전 | 1

| 수락됨

답변 있음
Real time in SIMULINK
*Sources/Clock* returns the current model simulation time. You can use this block to get simulation time, and by comparing th...

13년 초과 전 | 0

| 수락됨

답변 있음
embedded matlab function
Put your Embedded Matlab function block in an enabled subsystem and enable it only once at the start of simulation. See <htt...

13년 초과 전 | 1

| 수락됨

답변 있음
Code generation for TS7800 supporting ARM9 processor
Basically embedded coder generates *generic ANSI/ISO C/C++ code* which can be integrated with your hand written (low level) code...

13년 초과 전 | 2

| 수락됨

답변 있음
Is it possible to have a generic bus selector?
Check <http://www.mathworks.com/help/toolbox/simulink/slref/selector.html Signal Routing\Slector> block. It also does the same t...

13년 초과 전 | 0

| 수락됨

답변 있음
simulink from file source block
To read data from a MAT-file, should be in *Time Series * or *Time and Value array* format. Just save some simulation data u...

13년 초과 전 | 2

| 수락됨

답변 있음
Need a help on simulink block
You can implement in many ways... # Using If subsystem, If action subsystem & merge block. # Using Switch block # Using Ena...

13년 초과 전 | 2

| 수락됨

답변 있음
copying a simulink library block without its link
If you have masked your block then it is easy to disable the link of block every time block is added in the model from library. ...

13년 초과 전 | 4

| 수락됨

답변 있음
accessing Data associated with bus signal inside a s-function
You can access the bus signal data in the s-function in the same way you have mentioned (ie in structure format) Bus Input/Ou...

13년 초과 전 | 1

제출됨


WindTools : Access common windows tools from MATLAB
WindTools is a simple GUI that allow the quick access to the commonly used windows tools from Matlab

13년 초과 전 | 다운로드 수: 1 |

0.0 / 5
Thumbnail

답변 있음
Model Reference Target Update Error
If you are using s-function for code generation, then s-function should be supported with inlining TLC file. TLC file tells RTW,...

13년 초과 전 | 1

| 수락됨

답변 있음
How to stop simulation until the workspace data end?
There are two ways.... (1) Set the stop time of your model using time value as set_param('YourModel', 'StopTime', num2st...

13년 초과 전 | 0

| 수락됨

답변 있음
How we Generates SIL,steps involved in sil testing.
These links may be helpful <http://www.mathworks.com/help/toolbox/ecoder/ug/br90rb7.html About SIL and PIL Simulations> <h...

거의 14년 전 | 0

| 수락됨

답변 있음
unable to see variable in workspace.it only displays in command window.
The scope of variables defined in the function is limited to *that function* only. Function variable will be deleted every time ...

거의 14년 전 | 0

| 수락됨

답변 있음
Input for a time period
You can do it in many ways # Using *Sources/Clock* block # Using *Sources/Signal Builder* clock # Using *Sources/From Works...

거의 14년 전 | 1

| 수락됨

답변 있음
Simulink Diagram to C code - function
Hope you are using Embedded coder with simulink coder (Real time workshop). To change the model function prototype goto to *I...

거의 14년 전 | 1

| 수락됨

더 보기