Feeds
답변 있음
Calculate Mean of vector in more decimals
3.3333 is only the display of the variable 'ans'. The result of the calculation has better accuracy. Type format long and you ...
Calculate Mean of vector in more decimals
3.3333 is only the display of the variable 'ans'. The result of the calculation has better accuracy. Type format long and you ...
6개월 전 | 0
| 수락됨
답변 있음
Conditional Question Matlab Disagreement
I think you are right and your teacher is wrong. MATLAB evaluates this expression from the left to the right (see chapter "Oper...
Conditional Question Matlab Disagreement
I think you are right and your teacher is wrong. MATLAB evaluates this expression from the left to the right (see chapter "Oper...
대략 1년 전 | 1
답변 있음
Is there a 64 bit version of Matlab 2015a available for download?
Dont't worry about the labeling of the button for downloading in the MathWorks homepage. If you are running the installing appli...
Is there a 64 bit version of Matlab 2015a available for download?
Dont't worry about the labeling of the button for downloading in the MathWorks homepage. If you are running the installing appli...
대략 1년 전 | 0
답변 있음
How to set a sample time in a Discrete Transfer Fcn??
Per default the sample time of this block is (-1). This means the sample time is inherited from the signal at the input of the b...
How to set a sample time in a Discrete Transfer Fcn??
Per default the sample time of this block is (-1). This means the sample time is inherited from the signal at the input of the b...
대략 1년 전 | 1
답변 있음
Code generation with Embedded Coder
I think this is an issue of the block reduction optimization. In the configuration parameters move to Simulation Target --> ......
Code generation with Embedded Coder
I think this is an issue of the block reduction optimization. In the configuration parameters move to Simulation Target --> ......
대략 1년 전 | 0
답변 있음
Target Language Compiler (TLC) alternatives for custom inline L2 sfunctions in Simulink.
As far as I know there is no possibility to generate C/C++ code from a Level -2 MATLAB S-Function without writing an associated ...
Target Language Compiler (TLC) alternatives for custom inline L2 sfunctions in Simulink.
As far as I know there is no possibility to generate C/C++ code from a Level -2 MATLAB S-Function without writing an associated ...
대략 1년 전 | 1
| 수락됨
답변 있음
Datetime arithmetic in simulink
You can do some arithmetics with datetime data type. For your example it is possible to add a duration to a datetime. dt0 = dat...
Datetime arithmetic in simulink
You can do some arithmetics with datetime data type. For your example it is possible to add a duration to a datetime. dt0 = dat...
대략 1년 전 | 0
답변 있음
Matrix array in a strange format
Your matrix "val" is a sparse matrix. You can convert it to a full storage matrix with the function "full". A = full(val)
Matrix array in a strange format
Your matrix "val" is a sparse matrix. You can convert it to a full storage matrix with the function "full". A = full(val)
1년 초과 전 | 0
답변 있음
how to find unconnect goto block and from block in the simulink model use script
I think you should find a matching of the "GotoTag" in Goto blocks and From blocks. First find all your Goto and From blocks in...
how to find unconnect goto block and from block in the simulink model use script
I think you should find a matching of the "GotoTag" in Goto blocks and From blocks. First find all your Goto and From blocks in...
1년 초과 전 | 0
| 수락됨
질문
How to change horizontal alignment of column names in UITable
I know I can use the uistyle function to change the horizontal alignment of text of each cell of an UITable. But I am struggling...
1년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
대략 3년 전
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
5년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12년 초과 전
문제를 풀었습니다
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
12년 초과 전
문제를 풀었습니다
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...
12년 초과 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
12년 초과 전
문제를 풀었습니다
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 ...
12년 초과 전
문제를 풀었습니다
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:...
12년 초과 전