Answered
Erro due to different sample time
Hi @stephane teiguim When the output of a faster block (20 ms) is used as the input to a slower block (100 ms), Simulink needs ...

8 months ago | 0

Answered
Variable Input for State Space
Hi @Carlos You can use your time-varying temperature data as an input in Simulink! Here are a couple of straightforward ways I ...

8 months ago | 0

Answered
Sample Time in From Workspace Block
Hi @Carlos To make Simulink use the exact sample times from your data with the "From Workspace" block: 1. Format your data as ...

8 months ago | 0

Answered
How to solve the equation of this identity to obtain the specific values of coefficients A, B, and C?
Hi @Christopher It looks like your symbolic solution is returning parameters 'z' and 'z1' because the system of equations is un...

9 months ago | 0

Answered
query argument block options
Hi @Steve Van Hooser You can use "inputParser" class to define and query optional arguments of a function www.mathworks.com/he...

9 months ago | 0

Answered
How can I make multiple objects flash with the same function in matlab app designer?
Hi @Jason Hooker To enable each gauge block to flash independently without interruption, we can use "timer" objects. This allow...

9 months ago | 0

Answered
[App Designer] How to disable a component but keep it visible (not greyed out) ?
Hi @Kelvin L To disable a component while keeping it visible and not greyed out, you can overlay a non-interactive uicontrol wi...

9 months ago | 0

Answered
how to delete unconnected terminators using M-script
Hi @dhiraj ambadkar To delete unconnected terminator blocks in a Simulink model using M-script, you can use the "find_system" f...

9 months ago | 0

Answered
Combining Functions of Gaussian elimination and Banded Matrix
Hi @Hmm! To create a banded version of Gaussian elimination without pivoting, you need to ensure that your Gaussian elimination...

9 months ago | 0

Answered
Undersampled signal fft with additional information
Hi Robin Since you know the frequencies from the higher sampled signal, you can use this information to reconstruct the signal ...

10 months ago | 0

Answered
How do i solve a non homogenous diff equation without dsolve? I have done the code for the complimentary function pls help me with the particular solution part
Hi @Sid Nogueira To find the particular solution of a non-homogeneous differential equation, you can use methods such as the me...

10 months ago | 0

Answered
Why do i receive this error? (line 11)
Hi @Zakhar The error you're encountering is due to the function "u0" not being defined in your code. MATLAB is unable to find "...

12 months ago | 0

Answered
How to use multiplexer?
Hi @Kash Costello To connect your environment address and XML files, follow the steps below: 1. Set Up Environment Variables: ...

12 months ago | 0

Answered
Simulink library development for multiple Matlab versions
Hi @Bartlomiej Please refer to the following MATLAB documentation regarding managing multiple versions of a model: https://www...

12 months ago | 0

Answered
Error when creating a tensor from a for loop
Hi @Bruce The issue arises because the indices in MATLAB must be positive integers. When you change the spacing between the val...

12 months ago | 0

Answered
From making 2D line plots to making 3D surface plots: How to preserve my current workflow?
Hi To solve your problem of writing a scalar-valued function using meshgrid and linear combinations of rotating basis vectors,...

12 months ago | 0

Answered
How plot 2D and 3D of a function with contain wiener process?
Hi @salim saeed The Wiener process can be simulated using random walks. Here's an example of how you can plot your function: ...

1 year ago | 1

| accepted

Answered
what dose the "-E" symbol on signal-line of simulink model mean
Hi @Leo Zhai The symbol refers to the "Signal to Object Resolution Indicator". For more details, refer to the MathWorks docum...

1 year ago | 1

| accepted

Answered
Problem in assigning proper eigevalues in a for-loop
Hi @Tsz Tsun It looks like the issue you are encountering is due to the discontinuities in the eigenvalues, which can happen if...

1 year ago | 0

Answered
How do implement abstract properties without automatically instantiating them?
Hi @Hasan Zakeri When you specify a property with a class type that is "abstract", MATLAB expects an instance of the property t...

1 year ago | 1

Answered
Input format of the smooth function
Hi @中祥 范 Yes, the input 'y' to the smooth function can be in either row or column vector form. If you step inside the function,...

1 year ago | 0

Answered
Change settling time in simulink
Hi @Ilyan To adjust the settling time of your clamp system to between 1 and 1.5 seconds, you can modify the system parameters. ...

1 year ago | 0

Answered
How can I merge three plots into one plot?
HI @Mir Sahand To merge three separate graphs into one single graph for comparison, you can follow below steps: 1. Load your d...

1 year ago | 0

| accepted

Answered
Adaptive observer design for nonlinear system
Hi @Meenakshi Tripathi Designing an adaptive observer for a nonlinear system generally involves the following steps: 1. Define...

1 year ago | 0

Answered
complex number representation as real and imaginary part
Hi @yogeshwari patel It looks like there are a few issues in your code 1. When you try to take the real part and then raise it...

1 year ago | 0

| accepted

Answered
Checking if an edge in a graph intersects other edges
Hi @Hari Checking for edge intersections in a large 2D undirected network can indeed be computationally intensive, especially i...

1 year ago | 0

Answered
Calculate similarity between data columns in the data matrix
Hi @EK From my understanding, you want to calculate the correlation between a specific column ("column 5") and other columns in...

1 year ago | 0

Answered
Finding digraph cycles efficiently
Hi @Josue Ortega You can adopt the following approach to effectively address each of your requirements: a) Finding all nodes t...

1 year ago | 0

Answered
planar array FFT DOA
Hi @종영 To extend your linear array code to a planar array and visualize the beam pattern using FFT2, you need to consider both ...

1 year ago | 0

| accepted

Answered
SIL and PIL simulation mode.
Hi @Tanchak Harshad The error indicates a configuration or licensing issue with SIL or PIL modes in Simulink. First, check y...

1 year ago | 0

Load more