Answered
how do i model power increment (+udeg, -udeg) limits using matlab function?
Hi Imran To model power increment constraints using MATLAB, you can use a combination of conditional logic and the sign functio...

3 months ago | 0

| accepted

Answered
Determine the direction of travelling waves in Fourier Analysis
Hi there You can use the approach of analyzing the phase slope to determine the direction of traveling waves using FFT as: cle...

3 months ago | 0

Answered
Problem with Power system onramp course in simulink
Hi Irfan I do not personally faced any slow network issue at my end while using Power System Onramp over Simulink Online. The ...

3 months ago | 0

Answered
visboundaries/linewidth not rendering sharply when exporting figures
Hi Yannick Although I do not have access to your code but you can try out these steps to improve the quality of your exported i...

3 months ago | 1

Answered
Applying logic to Curve Fitter Output
Hi Eric, I am assming that you are trying to fit a surface to your data using MATLAB and want the fitted model to respect speci...

3 months ago | 0

| accepted

Answered
Create a function to choose spatial dimensions of twisted atomic layers
Hi Richard, I am assuming that in the context of your problem, dx and dy are expansion factors that determine how many times yo...

3 months ago | 0

Answered
Calculating volume of a convex hull
Hi Sitek, You are getting that error because all your points are coplanar, and you are trying to find the convex hull in 3D of ...

3 months ago | 1

Answered
solving non linear equation
Hi RAFFAELE To obtain a matrix (i, k) instead of a vector, you can preallocate the matrix S before the loop and assign the valu...

3 months ago | 0

Answered
ert static function declaration when using newer versions of matlab
Hi Martin, It seems that the issue you're facing is related to the static declaration in your custom TLC file. Starting from MA...

3 months ago | 0

Answered
substract and make answer to write as an output file
Hi @幸一 You can use a loop to iterate through the file names, load the matrices, perform the subtraction, and then save the resu...

11 months ago | 0

| accepted

Answered
how to use tcpclient in simulink matlab function block
Hi @Chetan Thakur I understand that you are getting the error when using tcpclient in simulink matlab function block. Most of y...

11 months ago | 0

| accepted

Answered
Keyboard Shortcut ctrl+d (init model) - does not work any more
Hi @Dieter Diewald I understand that keyboard shortcut Ctrl+D is not working to update diagram. You can perform the following w...

11 months ago | 0

| accepted

Answered
How can I plot a figure with 3 y-axis and and common logarithmic x-axis?
Hi @Sami Seppälä My understanding of your question is that you need 3-axes and x-axis in log scale. Here is the conceptual code...

11 months ago | 0

Answered
can any one help me to find empirical equation with 3 or 4 parameters for this data, And of course with different parameters for each curve
Hi @Mushtaq Al-Jubbori Depending on the complexity of the model you want to fit, you can use simple polynomial fitting or m...

11 months ago | 1

Answered
how i can improve this code?
Hi @Fadlu Ibrahim Here are some improvements and corrections to enhance the code's readability, performance, and functionality:...

11 months ago | 0

Answered
I am encountering this issue while building firmware in px4 autopilot.
Hi @Parvez I understand that you are facing the issue while building firmware in px4 autopilot. The cause of the build failed e...

11 months ago | 0

Answered
Create narrowband complex signal snapshots and normalize them.
Hi @Yara I understand that you want to obtain a normalized signal from s. The signal s is generated by randn(K,L) for the r...

11 months ago | 0

Answered
In three system of equation we applied delay two times in one system of equation. Code is showing error. Please do the needful.
Hi @Dhivyadharshini I understand that your code should give you a curve, but it is coming as a straight line. Here are the few ...

11 months ago | 0

| accepted

Answered
using for loop for multiple graph drawing
Hi @Kahyun Choi To automate the process of drawing multiple graphs based on a p-value threshold, you can modify your code to lo...

11 months ago | 0

Answered
Error in READWRITE mode of matlab.io.fits.openfile
Hi @jvaillancourt I understand that when you are trying to read a FITS file in READWRITE mode you are getting a "could not open...

11 months ago | 0

Answered
Matlab code of mobius transform
Hi @SAAAA I understand that you need to write a code to convert a series of lines into a series of circles. Here is the code yo...

11 months ago | 1

Answered
Unable to use a value of type tf as an index. How to fix?
Hi @Rohan Gulur The error message "Unable to use a value of type tf as an index" suggests that there is a syntax error in the c...

11 months ago | 0

Answered
Why do I receive Jacobian singular error while solving second order differential equation with boundary conditions?
Hi @Vevina Shreya I understand that you are receiving Jacobian singular error while solving second order differential equation ...

11 months ago | 0

Answered
Generation of Platform (hardware) independent code
Hi @Rodrigo Estrella To generate platform-independent code from Simulink models, you can use the code generation features provi...

11 months ago | 0

Answered
Different RMSE for self-written function and experiment manager output
Hi @Patrick Sontheimer I understand that you finding difference between your calculated values and the experiment manager value...

11 months ago | 1

Answered
Why array of structures is not supported in simulink function argument data type definition?
Hi @Hongliang Ran The reason why the array of structure is support in sender/receiver port, but not support in client/server po...

11 months ago | 1

Answered
AWS MATLAB Parallel Server - What is the best strategy?
Hi @Corrado Here are few of the best strategy to enable parallel computing on AWS in order to run very complex simulations simu...

11 months ago | 0

Answered
Simulink stays "blank" when trying to start
Hi @Victor Melhuus I understand that when you try to open Simulink in Matlab R2018a, it opens the pop-up window for "Simulink S...

11 months ago | 0

Answered
what is the difference between parameters and variables when custom a block in simscape
Hi @CoderMinga The difference between parameters and variables in simscape is as follows: Parameters: Set before simulation an...

11 months ago | 0

Answered
Can I get automatic Nail Image segmentation code?
Hi @Yahya I understand that you need an automatic Nail Image segmentation code which takes hand image as an input, to produce s...

11 months ago | 0

Load more