Answered
How do I see all the answers of the iteration?
Move the constants out of the loop. Then, see what variables depend on Tj and put them in the loop. Assuming you want to find th...

1 year ago | 0

| accepted

Answered
Create a Matlab Function that averages the input signal with the simulation running in the Simulink -- No upload to workspace
Hi, Without knowing your harware target, this is the basic idea you need to implement. The one-stop solution however is the m...

1 year ago | 0

| accepted

Answered
How can i get the system clock of a raspberry pi 4 with Simulink?
You need to include profile_timer.h from MATLAB\R2023a\toolbox\target\shared\armcortexabase\include\profile_timer.c. This has a ...

1 year ago | 0

Answered
How do I use MATLAB Coder to generate C++ code for an IIR filter that was generated by designfilt?
So, first of all, the dellip argument should be declared inside the gpsFilter function, because code generation does not support...

1 year ago | 0

Answered
How in Simulink send one signal from an input to one of several outputs according to a given output number?
I believe what you are looking for is analogous to a digital decoder. I do not believe a Simulink block to do this exists, but y...

1 year ago | 0

Answered
How to show a specified tau font in the subscript of y axis label in a matlab plot?
There is a LaTeX solution to this, by encasing your label inside \mathrm{}. The output has been shown below. Is this the font yo...

1 year ago | 0

Answered
Implement the Software Architecture in MATLAB\SIMLUNK and convert it to C
Check out Simulink Coder and Embedded Coder. I think this is what you are looking for. Simulink Coder - SimulinkĀ® Coderā„¢ (forme...

1 year ago | 0

| accepted

Answered
Find the first value of each groups.
x = [3 3 3 4 4 5 5 5 5 3 11]'; y = [1 2 4 5 7 2 1 8 10 10 1]'; result = [x,y]; [GroupId,~,ic] = unique(result(:,1)); Group...

1 year ago | 1

| accepted