Answered
Help with generating dataset for machine learning
Hi, Since you are a beginner to Simulink, to make a gear train model, you can start with the "Simscape Onramp". It will help in...

6 månader ago | 0

Answered
Problem in "Increasing Automation with Functions > Creating and Calling Functions > (5/5) Create and Call Local Function", Task 2, MatLab Fundamentals
Hi Luciano, The way you have calculated the value of "ppgold" is correct but you have written it within the function definition...

6 månader ago | 1

| accepted

Answered
I got warning while doing four bar mechanism analysis (Matrix is singular, close to singular or badly scaled)
Hi Fauzanul, The warning you get suggests that the matrix "Cq" you're attempting to invert is either singular, close to singula...

6 månader ago | 0

Answered
gamultiobj(): what are Fitness, Score and Rank?
Hi, Based on the documentation and the references present at the end, fitness refers to the raw values of the objective functio...

6 månader ago | 0

Answered
Cannot Find Polyline / Shape Trimming Solution?
Hi Owen, To get a perfect octagon and trim off the unwanted edges, you might need to manually select the vertices that outline ...

6 månader ago | 0

Answered
Eigenvectors of A'*A for non-square matrix A
Hi, If you have the matrix A, you can directly use the "eig" function to obtain the eigen vector associated with the minimum ei...

6 månader ago | 0

Answered
Organizing Data from a Cell Array
Hi Zachary, Assuming that the "fullfile" string follows the same format for all the conditions, you can use "strsplit" to obtai...

6 månader ago | 0

Answered
How to write a Quadratic Programming on the Vector Reference Governor?
Hi, We can solve the equation using the "quadprog" function by converting ||v(t) - r(t)|| to a quadratic programming problem. T...

6 månader ago | 0

Answered
How to compare two 3D volumes using dice metric?
Hi Max, To create a 3D binary mask and compare two volumes using the Dice metric, you have already made progress by extracting ...

6 månader ago | 1

| accepted

Answered
How to find Jiles Atherton Parameters in non-linear reluctance from simulink?
Hi Ananta, The documentation page for the "Nonlinear Reluctance" block mentions that we can set the parameters "K", "alpha" and...

7 månader ago | 0

Answered
Help generating a plot that shows the axial deformation at the free-end as a function of the number of elements, using Finite Element Analysis
Hi David, There are a few issues in the code you have provided: The plotting command plot(u(n,1)) is incorrect because it will...

7 månader ago | 0

Answered
How can i write a loop to calculate repulsive and damping forces for a drone guidance while avoiding multiple obstacles collision using artificial potential method??
Hi Joan, As per my understanding, I see that you have already implemented the internal loop to calculate the repulsive and damp...

7 månader ago | 0

Answered
Simulink Set Data Visibility mapping to private
Hi, The error suggests to ensure that the "Data Visibility" is set to "private". To configure the data visibility, you can take...

7 månader ago | 0

Answered
Why do I receive Interval might contain additional eigenvalues / with pdetool ?
Hi Thibault, I tried the code you have provided and was successfully able to reproduce the error in R2023a. Upon debugging and ...

7 månader ago | 0

Answered
Find Image/Reference Image within Image
Hi Taru, I assume that the specification sheet template remains the same. If that is the case, instead of using image processin...

7 månader ago | 0

Answered
Find the optimal state and optimal control based on minimizing the performance index
Hi Kunal, Based on the output you have shared, it seems that the objective function value is less than the constraint set and h...

7 månader ago | 0

Answered
How to correctly draw a violin-boxplot combination with gramm?
Hi Jostro, I created a dummy data based on the "dummy_rt" you provided and used the code provided. It worked and generated a "v...

7 månader ago | 0

Answered
Coder.Extrinsic Syntax Issues with TF property
Hi Abhijit, It seems that the error you're encountering is because the "tf" function does not support code generation. The func...

8 månader ago | 0

Answered
How can I figure out the porblem in inverting Op-amps
Hi Hussein, It seems that you are working on "Op Amps > Op Amp Practice (Inverting Amplifier) > Task 5" and facing some issues....

8 månader ago | 0

Answered
Angle estimation from hall sensor using hall decoder block
Hi Nandhini, I understand that angle estimation is erroneous, and it varies only between 0 to 330. It could be due to various f...

8 månader ago | 0

Answered
Create spatially colored noise given the noise covariance matrix.
Hi Yara, I understand that you want to generate colored noise samples from the noise covariance matrix and the SNR (Signal-to-n...

8 månader ago | 1

| accepted

Answered
Simulink Matlab system block with timetable error
Hi Gregory, I understand that MATLAB code executes without any issue when using 'timetable' but you are encountering an error w...

8 månader ago | 0

| accepted

Answered
Connect Simscape blocks in for each subsystems
Hi, I understand that you want to create a system that can be used repetitively instead of manually creating repetitive connect...

8 månader ago | 0

Answered
NI Elvis III DAQ
Hi Bach, I understand that you want to connect an "NI ELVIS III" device to MATLAB. Currently, there is no direct way to connect...

8 månader ago | 0

Answered
High Episode Reward for rlTD3 agent
Hi, I understand that you are using LQG control technique for the reward function and the episode manager shows a high episode ...

8 månader ago | 0

Answered
Simulink Test Parameter Override with structs
Hi Jake, I understand that you want to modify values of specific elements of a structure that is stored in a data dictionary. ...

8 månader ago | 0

| accepted

Answered
0-by-1 error when solving for 2 sets of simultaneous equation
Hi Sam, I understand that you are trying to solve equations using solution from previously solved equations. I am assuming that...

8 månader ago | 0

Answered
embeddedd coder with TI msp430 microcontrollers
Hi Stuart, I understand that you want to generate C code using embedded coder for “TI MSP430” microcontrollers. Currently, the...

8 månader ago | 0

Answered
FindVars of all modelVariants.
Hi Reuben, I understand that you want to find all variables of a reference model including the inactive variants but do not hav...

9 månader ago | 0

Answered
Rate control algorithm in 802.11 system-level simulation
Hi Junyong, I understand that you are seeking rate control algorithms such as "Minstrel" or "ARF" to configure them to the mesh...

9 månader ago | 0

Load more