Answered
Operands to the || and && operators must be convertible to logical scalar values
This error occurs because the input argument of the controlSystemDesigner function is not a valid transfer function object. The...

1 year ago | 0

Answered
How to move a component in the system composer model hierarchy?
Cutting and pasting a component in the Simulink model hierarchy will move the component to the new location while preserving all...

1 year ago | 1

Answered
Is there a way to switch between two thermal branches in a simscape model?
Yes, it is possible to create a switch block for the thermal domain in Simulink/Simscape. One way to implement this is to use a ...

1 year ago | 0

| accepted

Answered
Run C/C++ code that uses makefile in MATLAB / call via matlab
Integrating external C/C++ code with MATLAB can be challenging, but it is possible to call C functions from MATLAB using the MAT...

1 year ago | 0

Answered
Addon/Toolbox Post Install Hooks
Yes, there is a way to run post-installation code after installing a MATLAB add-on or toolbox using the MATLAB Add-On Manager. ...

1 year ago | 0

Answered
How to calculate dimension of an interference pattern?
Yes, it is possible to compute the dimension (area) of Newton's rings in an IR image. Newton's rings are a pattern of interfere...

1 year ago | 0

| accepted

Answered
Indexing different time stamps for same day?
If you have multiple conditions that you want to apply to the table, you can use the & operator to combine them into a single lo...

1 year ago | 0

| accepted

Answered
function arguments block for replacing data in existing excel file
The format you provided for the function definition is not correct. Here's a corrected version: function f = replacedata(input_...

1 year ago | 0

Answered
can we determine the fault in phase b or c in powerworld simulator
Yes, it is possible to determine the faulted phase or line in a power system using a fault analysis in PowerWorld Simulator. Wh...

1 year ago | 0

Answered
Collection of mesh nodes with a mouse click
Hi, Yes, it is possible to select points from a 3D plot using mouse clicks and save them in an array. One way to do this is to ...

1 year ago | 1

| accepted

Answered
3D logaritmic spirals on surface
Hi, To plot twelve equally spaced 3D logarithmic spirals that start from the circumference of the surface and converge to the t...

1 year ago | 0

Answered
rescale function does not work correctly
Hi, Yes, it is a common issue in numerical computing due to the limitations of floating-point arithmetic. In floating-point ari...

1 year ago | 0

Answered
Airy function fitting on minima
Hi, Fitting an Airy function to the fringes you have identified can be a good approach to accurately model and remove the fring...

1 year ago | 0

Answered
How to eliminate a ~1 sec lag between the participant response and EEG trigger
Hi, It sounds like you are experiencing some latency between the onset of the response trigger and the actual delivery of the t...

1 year ago | 0

Answered
Template function for invoking System Object MATLAB Coder
Hi, Yes, you can create a C++ library object from an existing DSP System Toolbox object by using the MATLAB Coder feature. One...

1 year ago | 0

Answered
Export constant value from model explorer
Hi, Yes, it is possible to export the names of all the variables used in a Simulink model. One way to do this is to use the "M...

1 year ago | 0

Answered
why am i getting this error with activation function in my code
Hi, The error message suggests that the argument 'ActivationFunction' is not a valid argument for the fullyConnectedLayer funct...

1 year ago | 0

Answered
Why buffer to delay the filtered receiving signal in the Monte Carlo ROC Simulation?
Hi, The reason for delaying the receiving signal after filtering in the Loop Over Pulses section in Monte Carlo ROC simulation ...

1 year ago | 2

| accepted

Answered
Building colourmap from continuous x, y position data
Hi, To create a heatmap using x and y position data in MATLAB, you can use the histcounts2 function to create a 2D histogram of...

1 year ago | 0

| accepted

Answered
I am uninstalling matlab and getting the uninstall error
Hi, The error message you provided suggests that MATLAB cannot find a file in the specified directory: "C:\Program Files\MATLAB...

1 year ago | 0

Answered
Running Simulink Online on Selfhosted Docker MATLAB Online Instance
Hi, Unfortunately, Simulink Online is not currently supported in MATLAB Online, even if you have installed Simulink and other r...

1 year ago | 0

| accepted

Answered
How to IFFT only frequency information
Hi, Yes, you can perform an Inverse Fast Fourier Transform (IFFT) in MATLAB using the frequency and amplitude information that ...

1 year ago | 1

Answered
matlab mechanics explorer not updating
Hi, It sounds like there may be a disconnect between the Simulink model and the actual robot arm. Updating the value of the gai...

1 year ago | 0

Answered
IMU sensor fusion: imufilter command reduces number of samples
Hi, When you convert the quaternion obtained from the imufilter command to Euler angles, you are essentially converting from a ...

1 year ago | 0

Answered
Configure embedded coder generated code to exclude model_initialize() entry function
In Simulink, the model_initialize() function is used to initialize the model states and other variables before simulation. Howev...

1 year ago | 0

Answered
Standard deviation of each coefficient of regression model
Hi, You can estimate the standard deviation of the regression coefficients using the coefCI function in MATLAB, which is availa...

1 year ago | 0

Answered
Is there any way to refresh a graph partly using 'drawnow'?
Hi, Yes, you can use the drawnow function to refresh the animation, but only update the objects that need to be updated. One w...

1 year ago | 0

| accepted

Answered
I am getting an error while using lsim
Hi, The error message indicates that the input data U provided to the lsim function is not in the correct format. Specifically,...

1 year ago | 0

Answered
Error using gpuArray/norm Failed to initialize GPU cuSOLVER library.
Hello Ziqi, The error message "Failed to initialize GPU cuSOLVER library" suggests that MATLAB is unable to access the cuSOLVER...

1 year ago | 0

Answered
Are there MATLAB use cases for which a Windows laptop connected to 1 to 6 GPUs in external thunderbolt enclosures is useful?
Hi, Having multiple GPUs connected to a Thunderbolt hub can be useful for certain use cases, such as data processing or machine...

1 year ago | 0

| accepted

Load more