Top 10% contributor
I want to upload a model that I have generated in Simulink onto my arduino board.
I followed the instructions on how to uploa...
Asked 9 months ago
Update: I have solved the problem. It is pretty simple actually. The inputs were reduced to a 4x1 vector. The output is reduced ...
Answered 12 months ago
I am creating a discrete S-function that has 4 inputs, 12 outputs and 12 discrete states, with sample time of 0....
Asked 12 months ago
I am doing this project purely out of interest (not as a homework)
The gist is to take a transfer function and test...
Asked 3 years ago
Lets say I have the following code which plots the curve out.
[y,t] = step(Pz);
I have found a point on th...
Hi everyone, I have a question.
Is there any code that allows one to find the point of inflection on a step response curve of...
Calculate the nth Fibonacci number.
Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ...
1 year ago
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Given the input n, return true if n is odd or false if n is even.
Regardless of input, output the string 'yes'.
Given a and b, return the sum a+b in c.
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
You need to check if you have the correct compiler installed on your pc. A list of the compilers is provided on page 9 in the Ho...
Answered 9 months ago
Join the conversation