已回答
Can you use SIL/PIL on a combined MATLAB/Simulink model?
Hey Joshua, You can place your MATLAB code in a MATLAB function block. This block can be part of a Simulink model, and you can ...

3 years 前 | 0

已回答
Least-Squares FIR Filter Design
Hey Ori, Please find different examples of how to design and apply digital filters in the following link to the documentation ...

3 years 前 | 1

已解决


print

3 years 前

已解决


Surface area of a cone

3 years 前

已解决


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

3 years 前

已解决


step function

3 years 前

已解决


sign function

3 years 前

已解决


F.R.I.E.N.D.S

3 years 前

已解决


find the answer

3 years 前

已解决


find the value

3 years 前

已解决


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

3 years 前

已解决


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

3 years 前

已解决


Sum of logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

3 years 前

已解决


Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

3 years 前

已解决


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

3 years 前

已解决


Bruh
Return 'bruh'.

3 years 前

已解决


Mann-Kendall Correlation
Write a function that returns the <http://en.wikipedia.org/wiki/Kendall_tau_rank_correlation_coefficient Mann-Kendall> correlati...

3 years 前

已回答
I can no longer perform coverage analysis, what could be the problem?
Apart from selecting "Enable coverage analysis", it is needed to specify one out of: Entire System, Referenced Models, Subsystem...

3 years 前 | 0

| 已接受

已回答
fixed point number conversion
You might try the command fi For example, converting the value 1.5 to fixed-point signed, with wordlength 10 and fraction lengt...

3 years 前 | 0

已回答
set_param() - programmatically change param of multiple blocks of the same type (for-loop)
That´s a good solution. For any other case, you might try to first use the command find_system, to then look for the blocks you ...

3 years 前 | 0

| 已接受

已回答
getting error while using feedback
You need to work with model objects, they must be either continuous os discrete with identical sample times. Here, please read ...

3 years 前 | 0

已回答
How to avoid duplicate functions in generated code with embedded coder?
Apart from setting the function packaging to 'Reusable function', could you set the Function name option to 'User specified' and...

3 years 前 | 0

已解决


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

3 years 前

已回答
integral sequre error (ISE) via Simulink
Hi Hussein, I think you should take the very final value. For example, if the simulation stops at T=10, go to the row when time...

3 years 前 | 0

| 已接受

已回答
Configuring the output of an S-Function
Hi Vagner, I think it is exactly you already have. Since you put x(1) and x(2) in the S-function output, and these are the unkn...

3 years 前 | 0

| 已接受

已回答
How do I convert descriptor state-space to transfer function?
I think you can just take the A,B,C,D matrices and use ss2tf command to convert it to transfer function. Please look at this do...

3 years 前 | 0

已回答
How do i programmatically set parameter override sets to different test iterations for a single test case in MATLB?
About overriding parameters programmatically, you could check the content described in this link: Override Model Parameters in ...

3 years 前 | 0

已回答
Can i run Matlab simulink in windows command line ?
Hi Sreenath, You could start by checking this example shows how to create a test harness programmatically: Programmatically Cr...

3 years 前 | 0

已回答
how to generate 100 random numbers between 5 and -5?
Hey Rayhan, You can try with these lines of code: a = -5; b = 5; N = 100; r = a + (b-a).*rand(N,1); Hope it helps!

3 years 前 | 0

已回答
How do I use LHS(Latin Hypercube Sampling)?
You could try with: lb = [-5 0]; ub = [10, 15]; x = bsxfun(@plus, lb, bsxfun(@times, X, (ub-lb)); %new sample distribution z...

3 years 前 | 1

加载更多